11-01-2008
25,
0
Join Date: Oct 2008
Last Activity: 12 October 2009, 2:46 PM EDT
Location: India
Posts: 25
Thanks Given: 0
Thanked 0 Times in 0 Posts
crontab
To use the crontab command, users must be listed in the file /etc/cron.allow. If that file doesn't exist, the users must not be listed in /etc/cron.deny. If neither file exists, all users can use the crontab command unless some other configuration prevents this.
e.g. 00 20 * * 1-5 /usr/sales
Time pattern in a crontab file entry include minute, hour, day of month, month of year, and day of week.
$ crontab -l
To list the available crontab enteries.
$ crontab -e
To edit ( or add ) the crontab enteries
$ crontab -e to create
To create the new crontab, if it doesn't exists.