I assume that you meant "every day" and not "every hour" The format is: MIN HOUR DAY MONTH DAY_OF_WEEK PROGRAM so you would want 0 8 * * * sh cptab If you are editing it using "cron -e" then this works ok, but it you are putting this is /etc/crontab then you need to add an extra field specifiy thing username that you want the cron job to run as. For example: 0 8 * * * root sh cptab For more info look at the man page: from the command line: man 5 crontab In KDE you can use the URL: man:/crontab(5) Hope that helps.
-----Original Message----- From: tabanna [SMTP:tabanna@aig.forthnet.gr] Sent: Friday, October 18, 2002 2:12 PM To: SuSE List Subject: [SLE] getting CRON to run a backup script every hour between 8 am & 9 pm
~ Please, what is the correct "crontab" syntax ?
i have tried :-
* 8-21 * * * sh cptab {cptab is the name of the baclup script}
~ this is not working . . . any ideas, please ?
thanks
best wishes
____________
sent on Linux
____________
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com