Toolyard

Cron Expression Explainer

How to read a cron expression

  1. Type or paste the expression, or click one of the examples.
  2. The schedule is described in plain words, and the next eight run times are listed in your time zone.
  3. Adjust the fields until the description matches what you want.

Frequently asked questions

What do the five fields mean?

In order: minute (0-59), hour (0-23), day of the month (1-31), month (1-12 or JAN-DEC) and day of the week (0-7 or SUN-SAT, where 0 and 7 are both Sunday). * means every value, */15 every 15th, 1-5 a range and 1,15 a list.

What if both day of the month and day of the week are set?

Standard cron runs when either one matches, so 0 0 1 * 1 runs on the 1st of each month and on every Monday.

Which time zone are the next runs in?

Your own. On a server, cron uses the server's time zone, which is often UTC.

More developer tools

Guides