Line 127: |
Line 127: |
| See the following schema for modifying the job scheduling: | | See the following schema for modifying the job scheduling: |
| | | |
− | * * * * * command to be executed | + | * * * * * command to be executed |
− | | + | |
− | | | | | | | + | | | | | | |
− | | | | | +----- day of week (0 - 6) (Sunday=0) | + | | | | | +----- day of week (0 - 6) (Sunday=0) |
− | | | | +------- month (1 - 12) | + | | | | +------- month (1 - 12) |
− | | | +--------- day of month (1 - 31) | + | | | +--------- day of month (1 - 31) |
− | | +----------- hour (0 - 23) | + | | +----------- hour (0 - 23) |
− | +------------- min (0 - 59) | + | +------------- min (0 - 59) |
| | | |
| For example, the original entry: | | For example, the original entry: |
− | | + | |
| $OUT .= "0 13 * * 5 root /usr/local/unjunkmgr/spamreminder.pl\n"; # Friday | | $OUT .= "0 13 * * 5 root /usr/local/unjunkmgr/spamreminder.pl\n"; # Friday |
− | | + | |
− | Is set to run at 13:00 (1pm) on Friday of every week, to change it to say run at 4:30pm Monday to Friday:
| + | is set to run at 13:00 (1pm) on Friday of every week, to change it to say run at 4:30pm Monday to Friday: |
− | | + | |
| $OUT .= "30 16 * * 1-5 root /usr/local/unjunkmgr/spamreminder.pl\n"; # Monday to Friday | | $OUT .= "30 16 * * 1-5 root /usr/local/unjunkmgr/spamreminder.pl\n"; # Monday to Friday |
− | | + | |
| + | To see more detail on crontab scheduling see [http://www.adminschoice.com/docs/crontab.htm] |
| + | |
| Then expand templates | | Then expand templates |
| | | |