Cron
Some features of Reeve make use of Cron expressions for scheduling periodically occuring events.
A Cron expression consists of 5 fields, each for a different interval of time:
* * * * *
^ ^ ^ ^ ^
| | | | |
| | | | +----- day of week (0-6) (Sunday=0)
| | | +------- month (1-12)
| | +--------- day of month (1-31)
| +----------- hour (0-23)
+------------- min (0-59)Examples
* * * * *run on every minute10 * * * *run at 0:10, 1:10 etc10 15 * * *run at 15:10 every day* * 1 * *run on every minute on 1st day of month0 0 1 1 *Happy new year schedule0 0 * * 1Run at midnight on every Monday
Lists
* 10,15,19 * * *run at 10:00, 15:00 and 19:001-15 * * * *run at 1, 2, 3...15 minute of each hour0 0-5,10 * * *run on every hour from 0-5 and in 10 oclock
Steps
*/2 * * * *run every two minutes10 */3 * * *run every 3 hours on 10th min0 12 */2 * *run at noon on every two days1-59/2 * * * *run every two minutes, but on odd minutes