TOOL 03
Cron explainer
Five fields, one surprising OR rule. Expand the expression and see when it will actually fire.
Cron expression
Five fields: minute hour day-of-month month day-of-week. Names such as MON or JAN are accepted.
Next five runs
Calculated against your browser's local time zone.
Reading the five fields
From left to right: minute (0–59), hour (0–23), day of month (1–31), month (1–12), day of week (0–6, Sunday is 0). An asterisk means "every value". A step is written */15 or 5-20/5. Lists use commas, ranges use hyphens, and three-letter names are accepted for months and weekdays.
The day-of-month OR rule
When both day fields are restricted, cron fires if either matches. 0 0 1 * MON means "midnight on the first of the month, and also every Monday" — not "Mondays that fall on the first". If you need the intersection, use a wrapper script or a scheduler that supports it.
Time zone and drift
Classic cron uses the daemon's local time zone. A container often runs in UTC, so an expression that fires at 03:00 on your laptop fires at 03:00 UTC in production. Daylight saving can also skip or repeat an hour; a job scheduled at 02:30 may not run on the spring-forward day.
Special strings
Some implementations accept @daily, @hourly, @reboot and similar shortcuts. They are not part of the POSIX cron syntax, so check the scheduler's documentation before relying on them.
Questions
Does this run my job?
No. It only parses the expression and predicts run times in the browser.
Why is Sunday both 0 and 7?
Both are accepted by common cron implementations; this tester normalises 7 to 0.
Does it support seconds?
No. Five-field cron has minute resolution. Six-field variants with seconds are a different syntax and are not evaluated here.
Why does the preview stop after five results?
Five is enough to spot a mistake. A yearly expression can take a long search, so the preview is capped.