Cron Expression Parser
Explain a cron expression in plain English, see the next run times and build one by picking minutes, hours and days.
“Every 15 minutes between 09:00 and 17:59, on Monday through Friday.”
Next runs
· servers usually run cron in UTC or their own local zone
Syntax
- *
- any value
- ,
- list — 1,15 = the 1st and 15th
- -
- range — 1-5 = Monday to Friday
- /
- step — */10 = every 10, 5/15 = 5, 20, 35, 50
- ?
- same as * (day / weekday, Quartz style)
- @daily
- macros: @hourly @daily @weekly @monthly @yearly
How to use
- Paste a cron expression to read it in plain English and see when it runs next.
- To build one, start from a preset and change the minute, hour, day, month or weekday boxes.
- The format is
minute hour day month weekday. A sixth field at the start is read as seconds (as used by Spring, Quartz and node-cron).
Gotchas
- If you set both day and weekday, standard cron runs when either matches —
0 0 13 * 5runs on every 13th and every Friday. - Weekday 0 and 7 both mean Sunday.
- Cron uses the server's time zone, which is often UTC. Switch the next runs to UTC to check — Bangkok is UTC+7.
- Quartz-only symbols such as
L,Wand#aren't supported.