Thread: crontab!
View Single Post
Old 05-15-2002, 05:14 PM   #3 (permalink)
bdl
Senior Contributor
 
Join Date: May 2002
Location: vta.ca.usa
Posts: 555
bdl is on a distinguished road
You don't edit the cron file directly, you use the command

'crontab -e'

This command edits the default systemwide cron file, if you want to edit a specific user's file, you can use

'crontab -u $USER -e'

..obviously substituting $USER for the username you want to use. If you want to edit a file by hand and have it become part of your cron, just point cron at it with the

'crontab filename'

command. This is what I do, I keep a personal .crontab file in my home directory and just run 'crontab ~/.crontab'. Enjoy!
bdl is offline   Reply With Quote