The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: using chrone
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 11-01-2008
muruganksk's Avatar
muruganksk muruganksk is offline
Registered User
  
 

Join Date: Oct 2008
Location: India
Posts: 25
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.