Location Codes
Run the command
[bash]
fcrontab -e
# note some systems use crontab etc
[/bash]
[text]
That will open the cron jobs file
0 * * * * rm -f /var/spool/cron/lastrun/cron.hourly
^ ^ ^ ^ ^
| | | |
| | | ` Day of the week
| | ` — Month
| ` —– Day of the month
` ——– Hour
` ———– Minute
[/text]
Allowed Values
field: | allowed values: |
---|---|
minute: | 0-59 |
hour: | 0-23 |
day of month: | 1-31 |
month: | 1-12 (or names, see below) |
day of week: | 0-7 (0 and 7 are both Sunday, or names) |
Example
[bash]
5 10 31 * 7 echo ”
[/bash]
echo will only be executed days which are a Sunday AND a 31th, at 10:05.