1666889← Home

Cron Expression Tester

Enter a cron expression to see the next 5 run times. Everything runs locally in your browser — nothing is uploaded.

5 fields: minute hour day month day-of-week · 6 fields: second minute hour day month day-of-week. Supports * , - / and JAN–DEC, SUN–SAT names.

Examples:

Field reference

#FieldRangeSyntax
1 (6-field only)Second0–59* any; 1,2,5 list; 1-5 range; */15 every 15; 1-30/5 step inside a range; months JAN–DEC, weekdays SUN–SAT
1 / 2Minute0–59
2 / 3Hour0–23
3 / 4Day1–31
4 / 5Month1–12
5 / 6Day of week0–7

Notes

  • Day and day-of-week use OR, not AND: when both are restricted, a run happens when either one matches. For example, 0 0 1 * 1 runs on the 1st of the month or on Mondays — not only when the 1st is a Monday.
  • Sunday is both 0 and 7: 0 0 * * 0 and 0 0 * * 7 both mean every Sunday.
  • Cloudflare and AWS use 1–7: some schedulers number Monday as 1 and Sunday as 7, so 0 0 * * 1 means Monday there. This tester uses the standard 0–7 range where Sunday is both 0 and 7.
  • L, W and # are NOT supported: these are Quartz extensions, not standard cron. This tester supports standard cron only. If you type them, you get an explicit error — they are never silently reinterpreted.
  • Dates that do not exist (e.g. February 30) never trigger; the tool tells you there are no runs in the next 4 years.
  • Daylight saving time: wall-clock times skipped by spring-forward (e.g. 2:30 AM in the US) are skipped, never run out of thin air.

Frequently asked questions

What is a cron expression? A short string of 5 or 6 fields (minute hour day-of-month month day-of-week, optionally with seconds first) that describes a recurring schedule, e.g. 0 9 * * * runs every day at 9:00.

Is day-of-month AND or OR with day-of-week? OR. When both are restricted, a run happens when either one matches.

Are L, W and # supported? No. They are Quartz extensions, not standard cron. Typing them produces an explicit error.

Is Sunday 0 or 7? Both. 0 0 * * 0 and 0 0 * * 7 run on the same days.

Is my expression uploaded anywhere? No. All calculation happens locally in your browser.

Cron Tester · Runs locally in your browser

More tools are coming. Back to thetool list.