A cron expression is five fields, each with its own range. The table is the whole cheat sheet in one place.

Cron field ranges

Five-field cron.
Field Values Examples
Minute 0 to 59 0, 15, */15
Hour 0 to 23 9, 0, */6
Day of month 1 to 31 1, 15, */2
Month 1 to 12 (or JAN to DEC) *, 1, 6
Day of week 0 to 7 (both mean Sunday) 1-5, 0, MON
Special strings @daily, @weekly, @monthly @daily = 0 0 * * *

The five fields of a cron expression

09**1-5MinuteHourDayMonthWeekday0 9 * * 1-5: weekdays, 9 AM

Worked example: weekdays at 9 AM, and every 15 minutes

Read 0 9 * * 1-5: minute 0, hour 9, any day, any month, weekdays 1 to 5. That is weekdays at 9:00 AM. Now */15 * * * *: the */15 means every 15 minutes, and the stars mean every hour, day, and month. That is 96 runs a day: fine for a light check, bad for a heavy job.

Limitations

Cron syntax varies: Vixie cron, Quartz, and cloud schedulers differ on day-of-month versus day-of-week, on 7 meaning Sunday, and on seconds fields. Cron runs in the server timezone, not yours, with no retry or overlap protection.

Sources

  • man 5 crontab, cron file format documentation (accessed November 2026)
  • Quartz Scheduler, CronTrigger tutorial (accessed November 2026)