
Cron Expressions: Read the Syntax and Calculate the Next Runs
Read a cron expression field by field, check its next runs in UTC or local time and avoid traps with steps, time zones and dialects, all in your browser.
A cron expression is read field by field and checked against dates
A line like */15 9-17 * * 1-5 drives a backup, a CI workflow or a Kubernetes CronJob. It is short, and few people reread it. Misread one field and the job runs at the wrong hour, twice, or never. The cron parser takes five fields (minute, hour, day of month, month, day of week) or six, with seconds first. It also takes aliases such as @daily and @hourly. It shows a sentence that sums up the schedule and the value of each field. It also lists the next 5, 10 or 25 runs, in UTC or in your browser's time zone. The calculation happens in your tab and the expression is sent to no one. This guide covers the syntax and the aliases, then shows how to read the result. Next come the traps that cost the most. A step does not line up, two day fields combine as an OR, a date does not exist, and the time zone and the clock change of 25 October 2026 move everything. It then compares the dialects of crontab, Kubernetes, GitHub Actions and AWS EventBridge, and redoes the calculations in code. Related tools are listed in the developer utilities hub.
1,15), ranges (9-17) and steps (*/15, 10-50/10). Month and day names work in upper or lower case@hourly, @daily, @midnight, @weekly, @monthly, @yearly and @annually, replaced by their five-field form in the input box. @reboot is rejectedWhat the parser is for, and where it stops
The parser answers one question: at which moments does this expression fire? Use it to check that before you deploy.
*/7 does not repeat the job every 7 minutes (see below), and the next runs show it0 0 31 * *, which skips the 30-day months. Ask for 25 runs to see the patternThe parser calculates dates. The rest of the chain is checked somewhere else.
.gitlab-ci.yml?, L, W or #, and it has no year fieldat for thatReading the results without mistakes
Enter the expression in the cron parser. The dates below start from Friday 16 October 2026 at 12:00 UTC. The tool starts from the present moment, so your dates will be different.
0 9 * * 1-5 gives the sentence "At 09:00 on weekdays (Mon–Fri)". The next runs are Monday 19, Tuesday 20, Wednesday 21, Thursday 22 and Friday 23 October at 09:00 UTC*/15 9-17 * * 1-5 has no exact sentence. The tool writes "Schedule breakdown", adds a note, then lists the five fields and the runs: Friday 16 at 12:15, 12:30, 12:45, 13:00 and 13:159-17 with */15 is 17:45. The hour range includes the whole of hour 17, up to 17:59@daily becomes 0 0 * * * in the input box0 0 * * 7 and 0 0 * * 0 give the same datesA step is calculated inside the range of the field. At the start of each range the counter goes back to zero.
*/7 * * * * fires at minutes 0, 7, 14 and so on up to 56, then returns to minute 0: 12:49, 12:56, then 13:00, which is 4 minutes later. The crontab manual page gives the same case with */350 */5 * * * fires at hours 0, 5, 10, 15 and 20. After 20:00 comes 00:00, so the gap is 4 hours, not 50 0 */2 * * targets days 1, 3, 5 up to 31. The 31st of October is followed by the 1st of November, two days in a row20/15, starts at that value and runs to the maximum of the field: minutes 20, 35 and 50When both fields are set, cron does not combine them with AND. It runs the job when either one matches, according to the crontab manual page. The tool flags it with a note under the summary sentence.
0 0 1 * 1 fires on the 1st of the month and on every Monday. The next runs are Monday 19 and 26 October, Sunday 1 November, then Monday 2 and 9 November1-7 for the day of month and 1 for Monday gives an either-or, so too many runs[ "$(date +\%d)" -le 7 ]. In a crontab, the % sign is written \%*, the other decides alone: 0 9 * * 1-5 has no ORA valid expression can fail to fire at all. The tool searches about two years ahead and tells you.
0 0 30 2 * aims at a 30 February: no run. The tool shows "No upcoming runs found in the search window"0 0 31 * * only fires in the 31-day months. From 16 October 2026: 31 October and 31 December 2026, then 31 January, 31 March, 31 May, 31 July and 31 August 20270 0 29 2 * has one date in the window, 29 February 2028. The tool shows "Only partial results before the search limit", which is normal: the next one falls in 2032[ "$(date -d tomorrow +\%d)" = 01 ] (with GNU date)Four mistakes you only see in production
The parser always calculates in UTC. The Local option only changes how the dates it found are written. 0 9 * * * gives 09:00 UTC, which the tool writes as 11:00 in a browser set to Paris on 16 October 2026. A cron started on a server set to Paris fires at 09:00 Paris time, which is 07:00 UTC until 24 October and 08:00 UTC after that. Which zone applies depends on the system that runs the job. The cron daemon follows the time zone of the machine. A Kubernetes CronJob follows the one of the kube-controller-manager, unless .spec.timeZone is set. GitHub Actions counts in UTC by default.
CRON_TZ or TZ in the schedule field of a CronJob: Kubernetes rejects the resource, because the zone belongs to .spec.timeZone and not to that fieldEurope goes back to winter time on Sunday 25 October 2026. At 03:00 on the old clock, it is 02:00 again. The United States changes a week later, on 1 November. A job set to 30 2 * * * then meets an hour that exists twice when the clocks go back, or not at all when they go forward. Implementations disagree. The Debian manual page for cron(8) says jobs in the skipped hour run soon after the change, and jobs in the repeated hour are not run again. The crontab(5) page published on man7.org says the opposite. A time that does not exist never matches, and a repeated time fires twice. GitHub Actions, with the timezone key, moves a run that falls in the skipped hour to the next valid time.
The same schedule is written differently depending on the tool. AWS EventBridge adds a year field and requires a ? in one of the two fields that hold a day. Quartz and Spring put seconds first. The parser rejects what it does not know and names the field and the token at fault, for example "Invalid value in Day of month (?)".
0 0 ? * MON-FRI *: six fields while the setting is on five, and a ? the tool cannot read. L, W and # are rejected the same way22-2: the start is past the end and the tool rejects it. Write 22-23,0-2@reboot or @every5m, or using one in GitHub Actions, which accepts noneA correct expression guarantees neither that the job starts, nor that it starts once. The Kubernetes documentation warns that Job creation is approximate: two Jobs may be created, or none, so jobs must be idempotent. The default concurrency policy is Allow, which lets a run start while the previous one is still going. If the controller counts more than 100 missed starts, it stops starting the job and logs an error. GitHub Actions delays scheduled runs at times of high load, especially at the start of every hour, and may drop some. In a public repository, scheduled workflows are disabled after 60 days without activity.
0 * * * * on GitHub Actions, where the start of the hour is the busiest momentconcurrencyPolicy: Allow on a job that takes longer than its intervalstartingDeadlineSeconds and finding, after a controller outage, more than 100 missed starts and no run at all17 * * * *, set concurrencyPolicy: Forbid when two runs must not overlap, and add an alert on the last success.Fields, aliases and dialects at a glance
Every field takes the same operators. Only the bounds change.
* means every value, , separates a list, - draws an inclusive range (8-11 gives 8, 9, 10 and 11) and / sets a stepAn alias replaces the whole expression. The parser expands them in the input box.
@hourly equals 0 * * * *@daily and @midnight equal 0 0 * * *@weekly equals 0 0 * * 0, Sunday at midnight@monthly equals 0 0 1 * *@yearly and @annually equal 0 0 1 1 *@reboot depends on the machine starting and has no date: the parser rejects itBefore you copy an expression, check what the target understands.
CRON_TZ variable? equals *, aliases accepted. The zone is set with .spec.timeZone (stable since Kubernetes 1.27), otherwise it is the one of the kube-controller-managercron(minute hour day-of-month month day-of-week year), with a ? required in one of the two fields that hold a day. The L, W and # operators are allowed. Scheduled rules count in UTCThe cron parser, step by step
The cron parser analyses as you type, after a short pause. The Parse button, or the Enter key in the field, runs the calculation without waiting.
Type or pick a preset
Six presets fill the field: every 5 minutes, every 15 minutes, every hour, every day at midnight, weekdays at 09:00 and the 1st of every month. An alias such as @daily is replaced by its five-field form.
Read the sentence
For simple schedules, a sentence sums up the expression: every minute, every N minutes, every hour, every day at a given time, Monday to Friday, day N of every month, once a year. If not, the tool shows "Schedule breakdown" and leaves you to read the fields.
Check the boxes
Each box carries the name of a field and its value. A note appears when day of month and day of week are both set, as a reminder that either one is enough.
Read the next runs
The list gives the full dates, with a "Next" line that gives the delay before the first one. A warning appears if no date exists or if the search stops before it finds enough.
Three settings under the input field change what the tool calculates or shows.
Five or six fields
Five fields is the default. Switching to six adds 0 at the start of the expression, so seconds at zero. Switching back to five removes that zero, and the tool refuses while the seconds are anything other than 0.
Runs to show
Choose 5, 10 or 25. Take 25 to see the pattern of a step, a month end or two day fields combined.
Time zone
UTC is the default. Local uses the time zone of your browser. A badge above the sentence reminds you of the choice. The calculation stays in UTC either way: only the way the dates are written changes.
Copy
Copy description takes the sentence, Copy all takes the list, and each line has its own Copy button.
When the expression is rejected, the tool says why and calculates nothing.
Empty expression
A field emptied after typing shows "Enter a cron expression".
Wrong number of fields
"Invalid cron expression for the selected field count" points to four fields, or six while the setting is on five. Change the setting or fix the tokens.
Invalid value
A message such as "Invalid value in Hour (22-2)" names the field and the token at fault, and the box of that field is highlighted.
Unsupported alias
@reboot and any alias outside the list give a message that recalls the ones the tool accepts.
The same schedules in a crontab, Kubernetes, GitHub Actions and Node
The line goes in crontab -e. The command takes the rest of the line: an unprotected % becomes a newline there, hence the \% in the example (see the crontab manual page). Cron does not run your login profile, so give the full path of the programs.
Basic example
The time zone is declared in .spec.timeZone, never in schedule. Check the manifest with the Kubernetes validator before you apply it.
Basic example
The workflow only fires if it exists on the default branch. The GitHub Actions validator checks the file, and the cron parser checks the dates.
Basic example
To calculate the next runs in a time zone, as a real cron does, pass the tz option. The example uses version 5 of the library. It shows the gap with the FastMinify parser, which calculates in UTC: the same line gives 07:00 UTC before 25 October 2026 and 08:00 UTC after it, for a Paris hour.
Basic example
Conclusion
A cron expression fits in five fields, and almost every error comes from what you cannot see in it. A step restarts from zero, two day fields combine as an OR, a date does not exist, and a time zone or a clock change moves everything. The cron parser puts dates next to the line, so you can spot these cases before deployment. It calculates in UTC, starts no job and only knows the five or six fields and the common aliases. The target matters as much as the expression, because crontab, Kubernetes, GitHub Actions, EventBridge and Quartz do not read the same syntax. Keep jobs that are safe to run again and watch their last success. The developer utilities hub lists the related tools.
Parse a cron expression in your browser
Related Articles

Paste a token and a JWKS to check an RS256, ES256 or HS256 signature in your browser. How kid picks the key, measured errors and the claims to check.

HTTP/2 and HTTP/3 change how files travel, not how big they are. Measured sizes, compile times and bundling tests show what minification still saves.

Convert a Unix epoch to a readable date and back, tell seconds from milliseconds, and avoid time zone, JWT and clock change traps, all in your browser.