Cron expression explainer

Type a standard 5-field cron expression to read it in plain English, see its next 10 run times in UTC and get a suggested grace window for a heartbeat check. The explainer runs in your browser: nothing you type is sent anywhere.

Five fields: minute, hour, day of month, month and day of week.

Schedule

Every 5 minutes

Fields

Minute
*/5 every 5 minutes
Hour
* every hour
Day of month
* every day of the month
Month
* every month
Day of week
* every day of the week

Next 10 runs

After 2027-01-01 00:00 UTC:

  1. 2027-01-01 00:05 UTC
  2. 2027-01-01 00:10 UTC
  3. 2027-01-01 00:15 UTC
  4. 2027-01-01 00:20 UTC
  5. 2027-01-01 00:25 UTC
  6. 2027-01-01 00:30 UTC
  7. 2027-01-01 00:35 UTC
  8. 2027-01-01 00:40 UTC
  9. 2027-01-01 00:45 UTC
  10. 2027-01-01 00:50 UTC

Heartbeat grace window

Suggested grace window: 2 minutes. That is half the shortest gap between runs (5 minutes), at most 1 hour. Runs are usually 5 minutes apart. Add the time the job itself takes.

Pingtier heartbeats for cron jobs are planned and not available yet. With them, your job would call a Pingtier URL when it finishes, and a call that is later than the grace window would be the alert. Read about the planned heartbeats.

How the explainer reads cron

  • Every time is UTC. A server that runs cron in another time zone runs the same expression at other times.
  • A field takes a number, *, a list such as 1,15, a range such as 1-5 or a step such as */15 or 0-30/5.
  • Months take JAN to DEC and days of the week SUN to SAT, in any case. Sunday is 0 or 7.
  • When day of month and day of week are both set, a day that matches either one runs, as standard cron does. When one of them starts with *, a day must match both.
  • The search looks 8 years ahead, so a date that never comes, such as 31 February, ends with a message.