The five fields
| Position | Meaning | Values |
|---|---|---|
| 1 | Minute | 0–59 |
| 2 | Hour | 0–23 |
| 3 | Day of month | 1–31 |
| 4 | Month | 1–12 |
| 5 | Day of week | 0–7; 0 and 7 are Sunday |
Three useful schedules
*/15 * * * * Every 15 minutes 0 9 * * 1-5 At 09:00, Monday to Friday 30 2 1 * * At 02:30 on the first of each month
Open the cron calculator to preview these schedules in your browser’s timezone.
Step values and day matching
In the minute field, */15 matches 0, 15, 30, and 45. For ordinary Unix cron, restricting both day-of-month and day-of-week usually matches either restriction. Confirm this behavior in your scheduler.
Check your runtime
Quartz, cloud schedulers, and Unix cron can use different field counts and syntax. Daylight saving behavior also depends on the scheduler and timezone. The calculator supports numeric five-field schedules and searches up to two years ahead.