Cron Expression Parser
Enter a cron expression to see what it means and when it runs next. Standard 5 fields (minute hour day month weekday); 6 fields are read as seconds + the standard 5.
Next runs
Fields
Cron syntax
โโโโโโโโโโโโโโ minute (0โ59) โ โโโโโโโโโโโโ hour (0โ23) โ โ โโโโโโโโโโ day of month (1โ31) โ โ โ โโโโโโโโ month (1โ12 or JANโDEC) โ โ โ โ โโโโโโ day of week (0โ7 or SUNโSAT; 0 and 7 are Sunday) โ โ โ โ โ * * * * * command
| Symbol | Meaning | Example |
|---|---|---|
* | Every value | * * * * * โ every minute |
, | List | 0 9,17 * * * โ at 9:00 and 17:00 |
- | Range | 0 9 * * 1-5 โ 9:00 Monday to Friday |
/ | Step | */10 * * * * โ every 10 minutes |
Special strings
@yearly / @annually | 0 0 1 1 * |
@monthly | 0 0 1 * * |
@weekly | 0 0 * * 0 |
@daily / @midnight | 0 0 * * * |
@hourly | 0 * * * * |
@reboot | Once, at startup |
Gotchas
- Day of month and day of week are OR-ed when both are set:
0 0 13 * 5runs on every 13th and every Friday, not only on Friday the 13th. - Time zone: cron uses the serverโs local time zone unless configured otherwise (e.g.
CRON_TZ). Check whether your server runs in UTC. - Quartz / Spring cron has an extra seconds field and supports
?,L,Wand#; this parser supports the seconds field and?, but notL,Wor#.
Frequently asked questions
What does */5 mean in cron?
A step: โevery 5th valueโ of the fieldโs range. In the minute field, */5 means at minutes 0, 5, 10, โฆ 55.
How do I run a cron job every weekday?
Use 1-5 in the day-of-week field, for example 0 9 * * 1-5 runs at 09:00 Monday to Friday.
Is Sunday 0 or 7?
Both. Standard cron accepts 0 and 7 for Sunday; you can also write SUN.
Which time zone are the next runs shown in?
Your browserโs local time zone by default. Tick UTC to see the schedule as a server running in UTC would execute it.
Why does my job run more often than expected?
If both day-of-month and day-of-week are restricted, cron runs when either matches. Set one of them to * to require only the other.