crons and crontab
Time Scheduler Notation:
Standard
Minute Hour DayOfMonth Month DayOfWeek
* = any value
, = value list separator
– = range of values
/ = step values (Increments)
Non-Standard
@yearly
@annually
@monthly
@weekly
@daily
@hourly
@reboot
Examples
Run a cron once every minute
* * * * * /path/to/script */1 * * * * /path/to/script
Run cron every 5 minutes
*/5 * * * * /path/to/script
Run cron every minute starting at 1:00 and ending at 2:00
* 1 * * * * /path/to/script
Run cron at 2:00AM and 3:00PM
0 2,15 * * * /path/to/script
Run cron every Monday at 4:30AM
30 4 * * 1 /path/to/script
Commands:
Open Cron Schedule for the current user
crontab -e