Mauricio Robles

Tool

Cron explainer

Paste a cron expression. Get a sentence, a field-by-field breakdown and the next ten times it will run.

Tool

Start from

Five fields: minute hour day-of-month month day-of-week.

Result

In plain English
At 09:00, on Monday through Friday.

En español
A las 09:00, de lunes a viernes.

Field by field
FieldValueRuns at
Minute00
Hour99
Day of month*every value
Month*every value
Day of week1-51, 2, 3, 4, 5

Calculating next runs.

How it works and assumptions

The tool parses the five standard cron fields (minute, hour, day of month, month, day of week). It accepts lists, ranges, steps and month and weekday names, explains the schedule in English and Spanish, and calculates the next 10 runs in the timezone you choose, also shown in UTC. Quartz-style characters (L, W, #, ?) and a seconds field are not supported.

  • Supports the standard five fields: minute, hour, day of month, month, day of week. It accepts *, lists, ranges, steps, month and weekday names, and 7 as Sunday.
  • When both day of month and day of week are restricted, a time matches if either matches, as in Vixie cron. Quartz-style extras (L, W, #, ?) are not supported.
  • Next runs are computed in the timezone you choose using the browser's Intl support, by checking each minute of the next four years. Across a daylight-saving change, a time that does not exist is skipped and a repeated time runs once.

Frequently asked questions

What do the five fields of a cron expression mean?

In order: minute (0-59), hour (0-23), day of month (1-31), month (1-12) and day of week (0-7, where 0 and 7 are Sunday). An asterisk means every value.

What does */15 mean in cron?

A step of 15 in that field. In the minute field, */15 runs at minutes 0, 15, 30 and 45 of every hour.

What happens when both day of month and day of week are set?

As in standard cron, the job runs when either field matches. A schedule of 0 9 1 * 1 runs at 09:00 on the 1st of the month and on every Monday.

Which timezone are the next runs shown in?

In the timezone you pick, which defaults to your browser's timezone, and also in UTC.

Reading that goes with this tool.