Dean Hamstead wrote:
fwiw

some places may also recommend 'crontab -e' which will spin you off
into an editor to edit your users crontab file.

And a word of caution if you are going to do this: Create your crontab as suggested, but then do something like this:

$ crontab -l > crontab.out

to take a backup, then when you want to make changes, edit crontab.out and reinstall it by typing:

$ crontab crontab.out

That will save you from accidentally typing 'crontab -r' and wiping out any trace of your crontab, which strangely is easier than you might think, I've seen it happen on a number of occasions and if you have custom crontabs running all manner of undocumented tasks it can cause real pain (another reason why you might want to think about putting scripts in /etc/cron.d instead).

Regards,
Craig
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to