Hanpy's Blog

Type at least two characters.

Cron expression parser

Explain a cron expression in plain words and see exactly when it will run next.

🔒 Processed in your browser only — your expression is never sent to a server.

Meaning

At 09:00, on Monday through Friday

Next run times

  1. …
  2. …
  3. …
  4. …
  5. …

Fields

FieldInputRuns atAllowed
Minute000–59
Hour990–23
Day of month*every value1–31
Month*every value1–12, JAN–DEC
Day of week1-51(Mon), 2(Tue), 3(Wed), 4(Thu), 5(Fri)0–7, SUN–SAT
Advertisement

How to use

  1. Type a cron expression or press one of the examples. Fields are minute, hour, day of month, month and day of week, separated by spaces.
  2. Read the explanation, and check the field table to see which values each field expands to.
  3. See the next five run times in your local time zone or in UTC. If your server runs in UTC, check the UTC list.
  4. Press Share link to send the expression to someone else.

FAQ

What are the five fields?

From left to right: minute (0–59), hour (0–23), day of month (1–31), month (1–12 or JAN–DEC) and day of week (0–7 or SUN–SAT, where 0 and 7 are Sunday). * means every value, 1-5 a range, 1,15 a list and */10 every 10th value.

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

In Linux crontab, if neither field starts with *, the job runs when either one matches. For example, 0 0 13 * 5 runs on the 13th of every month and on every Friday, not only on Friday the 13th. If one of them starts with *, both must match.

Which time zone are the next run times in?

Cron runs in the time zone of the machine it is on. This tool lets you switch between your browser’s time zone and UTC. Cloud servers are often set to UTC, and a Kubernetes CronJob without a timeZone uses the time zone of kube-controller-manager.

Does it support Quartz/Spring seconds or L, W, # and ?

No. Only the five-field Linux crontab syntax is supported. Six- or seven-field expressions with seconds and the L, W, # and ? characters are extensions used by Quartz, Spring and similar schedulers.

Is my expression sent to a server?

No. Parsing and the next-run calculation happen entirely in your browser. If you press Share link, the expression is stored in the link.

Advertisement