How to Read Any Cron Expression in Plain English

Every cron expression is the same five fields in the same order:

minute hour day-of-month month day-of-week

Nothing is hidden in the line. Each field is a small list of allowed values, and the job runs when all five lists agree. Once you see it that way, reading cron is just reading five lists, left to right.

What each field accepts

Field Range Names
Minute 0-59 —
Hour 0-23 —
Day of month 1-31 —
Month 1-12 jan through dec
Day of week 0-7 sun through sat (0 and 7 are both Sunday)

Four symbols shape a list:

  • * means every value: any minute, any day.
  • , adds values: 1,15 is the 1st and the 15th.
  • - makes a range: 9-17 is 9 through 17.
  • / makes a step: */15 is every 15th value, starting at the first.

Steps can start somewhere else, too. 10-50/10 in the minute field means 10, 20, 30, 40 and 50 — not 00. That is how you move a job off the busy top of the hour.

Read one out loud

Take a line people actually use for a business-hours report:

*/15 9-17 * * 1-5
  • Minute */15: every 15 minutes — :00, :15, :30, :45.
  • Hour 9-17: from 9 in the morning through 5 in the evening.
  • Day of month *: any day.
  • Month *: any month.
  • Day of week 1-5: Monday through Friday.

The sentence: “every fifteen minutes, during business hours, on weekdays.” If that sentence matches what you meant, the line is right.

The trap that catches almost everyone

Day of month and day of week do not behave like the other fields. When both are restricted — neither is * — cron runs the job when either one matches, not when both do.

This line:

0 9 1 * 1

does not mean “the 1st of the month, if it is a Monday”. It means “the 1st of every month, and also every Monday”. Two schedules for the price of one.

If you need both conditions at once, put the check inside the script, or split the work so each line restricts only one day field.

Six fields means seconds

If a tool shows six fields, the first one is seconds:

second minute hour day-of-month month day-of-week

Quartz (Java) and Spring use this form. A plain crontab does not: five fields, with one minute as the smallest step. Pasting a six-field expression into crontab -e shifts every value one place to the right and produces a schedule you did not ask for. That is one of the most common reasons a job “runs at the wrong time”.

The short names

Most cron implementations accept whole-schedule shortcuts:

  • @hourly, @daily, @weekly, @monthly, @yearly;
  • @reboot to run once, when the machine starts.

They mean exactly the five-field line written out. @daily is 0 0 * * * — midnight on the server, which is not your midnight unless you share its clock. Convenient, but worth expanding in your head so the timezone question does not get lost inside a word.

A method that works on any line

  1. Cover everything after the first field. Read the minute list. What does it allow?
  2. Move one field right and repeat, saying the meaning in words, not symbols.
  3. Join the five sentences. If the result reads like a to-do line, the expression probably means it.
  4. If day of month and day of week are both restricted, say “or” between them, never “and”.

That is the entire skill. Cron is not a language; it is five lists in a fixed order.

What cron will not do for you

Reading the line correctly does not promise the job will work. Cron starts the command and walks away. It does not retry a failure, it does not stop a second copy from starting while the first is still running, and it does not give your script the environment of an interactive shell. Those are separate problems with separate fixes, and they are worth knowing before you blame the schedule.

Check the line before it bites

Paste an expression into the parser and it reads back field by field, in plain English, with a warning when a field does something you would not expect. For the schedules people ask about most, the schedule library has a ready-made page with the trap each one hides. And if the line came from another tool — Quartz, Spring, a Node scheduler — the converter puts it back into crontab form and lists what cannot come along.

The five fields stop being cryptic the first time you say one out loud. Start with a line you already use, and read it from left to right.