Cron Explainer
Type a cron expression and read what it means in plain words, with the next five run times in your own time zone. Free, and it runs in your browser.
Quick examples
What is a cron explainer?
Cron is the scheduler behind a huge number of servers, build pipelines and cloud jobs. You tell it when to run a task with a short line such as */15 9-17 * * 1-5. The format is compact, which is why it has lasted so long, but it is also easy to misread. Is that every 15 minutes or at minute 15? Does 1-5 mean Monday to Friday or the first five days of the month? A cron explainer answers those questions by turning the line into a plain sentence.
A standard cron expression has five fields separated by spaces, always in this order: minute, hour, day of the month, month, and day of the week. A * means “every”, a dash gives a range such as 9-17, a comma gives a list such as 1,15, and a slash gives a step, so */15 in the minute field means every 15 minutes. Day of the week runs from 0 for Sunday to 6 for Saturday, and short names like MON or FRI work too. This tool also accepts a sixth field placed at the front for seconds, which some schedulers use, so 30 0 9 * * * means 9:00 and 30 seconds every day. Special forms such as L for the last day of the month and 1#2 for the second Monday of the month are understood as well.
Under the sentence, the tool lists the next five times the schedule will run. Those times are worked out in your own time zone, the one your device is set to, and the page names that zone so there is no guessing. Keep in mind that many servers run on UTC. If you are in Hà Nội and your server clock is UTC, a job written as 0 9 * * * fires at 9:00 UTC, which is 16:00 for you, while the list shows 9:00 your time.
You can paste several expressions, one per line, for example a whole crontab section. Each line gets its own sentence, and a line that is not valid is marked so you can fix it. Everything runs inside your browser, so internal job names or server details in your crontab stay on your device.
How to use the cron explainer
- Type or paste an expression into Cron expression. The box starts with
*/15 9-17 * * 1-5as an example. - Or press one of the Quick examples, such as Every hour or Weekdays at 9:00, to fill the box.
- Read the meaning next to each expression.
- When the box holds a single expression, check Next runs for the next five dates and times in your time zone.
- Change a field and watch the sentence and the dates update as you type.
FAQ
What do the five fields mean?
From left to right they are minute (0 to 59), hour (0 to 23), day of the month (1 to 31), month (1 to 12) and day of the week (0 to 6, where 0 is Sunday). So 0 9 * * 1-5 means minute 0 of hour 9, any day of the month, any month, Monday to Friday.
Can I use a seconds field?
Yes. If you write six fields, the first one is read as seconds. Classic Linux cron only takes five fields, so check that your scheduler supports seconds before you copy a six-field line into it.
Why are the next runs different from what my server does?
The list reads the schedule as if it ran on a clock set to your own time zone, and the page shows the name of that zone under the list. Your server may use a different zone, often UTC. Add or subtract the difference, or set the time zone in your scheduler if it allows that.
What happens when I set both a day of the month and a day of the week?
Like most cron programs, the job runs when either one matches. 0 0 13 * 5 runs at midnight on the 13th of every month and also on every Friday, not only on Friday the 13th.
Does it understand @daily or @reboot?
No. Shortcuts that start with @ are not accepted. Write them out in full instead, for example 0 0 * * * for once a day at midnight.
Why does it say “This schedule never runs again”?
Some expressions match a date that does not exist, such as 0 0 30 2 * for 30 February. The sentence still describes the rule, but no real date fits it.