[Tux Gif]
 Linux System Administration

CUPS and CRON


/etc/crontab


If you don't wish to specify a value for a field, just place a * in the field.

minute   hour   dom   month   dow    cmd

Examples:

01 * * * * echo "This command is run at one min past every hour"

17 8 * * * echo "This command is run daily at 8:17 am"

17 20 * * * echo "This command is run daily at 8:17 pm"

00 4 * * 0 echo "This command is run at 4 am every Sunday"

* 4 * * Sun echo "So is this"

42 4 1 * *  echo "This command is run 4:42 am every 1st of the month"


01 * 19 07 *  echo "This command is run hourly on the 19th of July"



Prev                Page 5                Next