Cron Expression Explainer
Decode any cron expression into plain English and see exactly when it will run next. The explainer supports the standard five fields, steps, ranges, lists, day and month names and the usual @daily style macros, and it prints the next run times so a wrong schedule shows up before the job does.
Cron expression
Explanation
Ready — paste some input or load the sample.
100% Client-Side · Privacy First. This tool runs entirely inside your browser. Nothing you type is uploaded, logged or sent to a server — you can even use it offline.
Overview
A cron expression is compact to the point of being cryptic, and reading one correctly takes practice. The five fields mean minute, hour, day of month, month and day of week, and each one accepts a list, a range, a step or a name. Month numbers start at 1 rather than 0, which catches everybody out, and day of week accepts both 0 and 7 for Sunday. There is also a rule that surprises even experienced users: when both the day of month and the day of week are restricted, cron fires when either of them matches, not when both do. This explainer takes an expression and gives you the same information in three forms — a sentence in plain English, a breakdown of what each field matches, and the next run times. The run times are calculated on a wall clock so they stay stable no matter which timezone the machine is in, and you can ask for UTC explicitly to compare against server logs.
How to use the cron expression explainer
- 1Paste a cron expression such as 30 15 * * 1-5 into the input panel.
- 2Read the plain English sentence at the top of the output to see what the schedule means.
- 3Check the per-field breakdown for the minute, hour, day of month, month and day of week.
- 4Look at the list of next run times to confirm the schedule fires when you expect it to.
- 5Switch the timezone to UTC when you are comparing the schedule against a server log or an application trace.
- 6Compare the next run times against a real log line when you are chasing a job that fired at the wrong moment.
Cheat sheet
The syntax you will use most, and what each part does.
| Pattern | What it means |
|---|---|
30 15 * * * |
At 15:30 — that is 3:30 in the afternoon — every day of the month and every day of the week. |
*/15 * * * * |
Every fifteen minutes: the step applies to the whole field it appears in. |
0 9-17 * * 1-5 |
Hourly from 09:00 to 17:00 on weekdays, a common office-hours schedule. |
0 0 1 * * |
Midnight on the first day of every month, with the day-of-month field set to 1. |
0 12 * jan,jun * |
Noon in January and June, using the three-letter month names. |
0 0 * * 0 |
Midnight on Sunday, where 0 and 7 both mean Sunday. |
Common mistakes
January is scheduled for the wrong month.
Month numbers start at 1, so January is 1 and not 0. Month names such as jan and dec are unambiguous and avoid the whole class of mistake.
The job runs on days you did not expect.
When the day-of-month and the day-of-week fields are both restricted, cron matches either of them. A schedule of 0 0 13 * 5 fires on the 13th of every month and on every Friday.
The times look wrong in the log.
Cron runs in the timezone of the daemon. The explainer can show the next runs in UTC so they line up with a server log without conversion.
A range behaves unexpectedly.
Ranges are inclusive and can be reversed only by writing them the other way round. The day-of-week range 1-5 is Monday to Friday, while 5-1 is not valid.
Worked examples
An afternoon job
30 15 * * *
A plain English sentence, a breakdown of the five fields, and the next run times in both local and UTC form.
A step schedule
*/10 * * * *
The explanation that it fires every ten minutes, with the run times listed in order.
Frequently asked questions
Are the run times affected by my timezone?
The UTC column never changes. The local column is rendered in the timezone of your browser, so switch the option to UTC to get a stable value you can compare with a log line from a server.
What are the special macros?
There are seven: @yearly and @annually run at midnight on 1 January, @monthly on the first of the month, @weekly on Sunday, @daily and @midnight every day, and @hourly every hour. They expand to ordinary expressions under the hood.
How many run times are shown?
A handful of future run times, enough to spot an obvious mistake such as a schedule that only fires in February. The list stops after the requested count and is capped so that an impossible schedule cannot hang the page.
Does the explainer check whether the schedule is valid?
Yes. An expression with the wrong number of fields, an out-of-range value or an impossible range is rejected with a message that names the offending field instead of silently returning nothing.
How do I read a range such as 1-5 in the day of week field?
It covers Monday to Friday, because cron numbers the days from zero for Sunday. The explainer prints the readable label "on weekdays" when the range matches exactly.
What does the step value mean?
A step such as */15 runs every fifteen minutes, and 0-30/5 runs at minute zero of the hour and then every five minutes until minute thirty. The explainer turns both forms into a readable phrase.
Why can I not use the same expression for two different servers?
Because cron expressions carry no timezone. Two hosts in different regions run the same line at different wall-clock times, so a reliable setup pins the timezone explicitly or converts the schedule into a UTC expression.
Can the explainer tell me whether a job is safe to deploy?
It tells you when the expression fires and whether it is valid. It cannot tell you whether the command itself is safe, and it does not model the extra rules that some schedulers add, such as a random delay around a full hour.
Why does the explanation say "every day at 09:00" for an expression that names a weekday?
It does not. When the day of week is restricted, the sentence names the weekday instead, because "every day at 09:00" would be misleading for a job that only runs on Mondays.
What does the DOM or DOW rule mean?
When both the day of month and the day of week are restricted, cron fires when either one matches. That is the opposite of the intuition, and it is the reason a job sometimes runs on a day you did not plan for.
Can the explainer show me more than a handful of run times?
The list is deliberately short so that a schedule which never fires does not lock up the page. Copy the expression into the builder or into a real scheduler to explore the far future.