Cron Expression Builder

Build a cron schedule field by field, or paste an expression to see what it means and when it will run next.

“At 09:00, Monday through Friday”

0–59

0–23

1–31

1–12 or JAN–DEC

0–7 or SUN–SAT (0 and 7 = Sunday)

Presets

Next run times

Calculating…

What this cron builder does

Cron expressions are five short fields that decide when a job runs: a backup at night, a report every Monday, a cache refresh every ten minutes. They are compact enough to fit on one line of a crontab, a Kubernetes CronJob or a GitHub Actions workflow, and cryptic enough that a typo goes unnoticed until the job silently runs at the wrong time, or never.

This tool works in both directions. You can build an expression by filling in the five fields, or paste one you found in a config file to find out what it means. Either way it validates every value, describes the schedule in plain English and lists the next run times so you can check the schedule against a real calendar before you deploy it.

How to use it

  1. Type or paste an expression into Cron expression, or click one of the Presets to start from a common schedule.
  2. Adjust individual parts in the Minute, Hour, Day of month, Month and Day of week inputs. The expression above updates as you type.
  3. Read the description in the blue box. If a value is out of range or malformed, a red message names the field and the problem instead.
  4. Check Next run times. Use the Time zone menu to switch between your local zone and UTC, and Show to list 5 or 10 runs.
  5. Click Copy to copy the expression. Macros such as @daily are copied in their expanded five-field form.

Worked example

Suppose a health check should run every ten minutes during office hours on weekdays. Enter:

*/10 9-17 * * MON-FRI

Every 10 minutes, between 09:00 and 17:59, Monday through Friday

With UTC selected and the current time at 10:30 on Monday 9 November 2026, the next runs are 10:40, 10:50, 11:00 and 11:10 on the same day. Note that the hour range 9-17includes the whole 17:00 hour, so the last run of the day is at 17:50, not 17:00. If you wanted the job to stop at 17:00, use 9-16.

A second example shows the rule that surprises most people. 0 0 13 * FRI is described as "At 00:00, on day 13 of the month or on Friday", and the run list shows Friday 13, 20 and 27 November and Friday 4 December: the job runs on every Friday and on every 13th, not only on Friday the 13th.

Syntax the tool understands

  • Single values: 5, JAN, MON. Names are case-insensitive; day of week accepts both 0 and 7 for Sunday.
  • Wildcard: * means every value of the field.
  • Lists: 1,15 or MON,WED,FRI.
  • Ranges: 9-17 or MON-FRI. Ranges must go forwards; FRI-MON is rejected because cron does not wrap around.
  • Steps: */15, 1-5/2 (1, 3 and 5) or 10/20 (10, 30, 50).
  • Macros: @hourly, @daily/@midnight, @weekly, @monthly, @yearly/@annually.

Day matching follows Vixie cron, the implementation behind most Linux crontabs: when both day fields are restricted the job runs if either matches; when one of them starts with *, only the other one counts.

Limitations

  • Only the standard five-field format is supported. Quartz, Spring and AWS EventBridge expressions (seconds or year fields, ?, L, W, #) are reported as invalid.
  • Run times are computed for your browser's time zone or UTC, not for an arbitrary server zone. Local times that do not exist because of a daylight-saving jump are skipped; real cron daemons handle that hour in different ways.
  • The run list looks up to five years ahead. An impossible date such as 0 0 30 2 * (30 February) is flagged as never firing.
  • @reboot has no calendar meaning and is not accepted.

Tips and common mistakes

  • Forgetting the minute. * 9 * * * runs 60 times between 09:00 and 09:59. For once a day at 9, write 0 9 * * *.
  • Steps start at the range minimum. */7 in the minute field fires at 0, 7, … 56 and then again at 0, so the gap across the hour is 4 minutes, not 7.
  • Spread heavy jobs. Many teams schedule everything at 0 0 * * *; choosing an odd minute such as 17 3 * * * avoids load spikes.
  • Check the server's zone. A job set to 0 9 * * * on a UTC server runs at 09:00 UTC, which may be the middle of the night for your users.

Need to convert a run time into a Unix timestamp for a log query? Use the Unix Timestamp Converter. Writing a pattern to parse cron job logs? Try it in the Regex Tester.

Frequently Asked Questions

What do the five fields of a cron expression mean?

In order they are 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 both 0 and 7 mean Sunday). A job runs at every minute where all fields match.

How do I run a job every 15 minutes?

Use */15 * * * *. The */15 step in the minute field fires at minutes 0, 15, 30 and 45 of every hour. To limit it to office hours on weekdays, use */15 9-17 * * 1-5.

Why does "0 0 13 * FRI" run on every Friday, not only Friday the 13th?

Standard (Vixie) cron treats day of month and day of week as OR when both are restricted: the job runs on the 13th of every month and on every Friday. If either field is *, only the other one applies. The next-run list in this tool follows that rule.

Does this tool support a seconds field or Quartz syntax?

No. It validates the standard 5-field format used by crontab, Kubernetes CronJobs and GitHub Actions. Quartz and Spring use 6 or 7 fields and extra symbols such as ?, L, W and #, which are reported as invalid here.

Which time zone are the next run times shown in?

By default they are calculated in your browser's local time zone, and you can switch to UTC. Cron itself uses the server's time zone (Kubernetes and GitHub Actions use UTC unless configured otherwise), so pick the one that matches where your job runs.

Is my cron expression sent anywhere?

No. Parsing, the description and the next-run calculation all happen in your browser with plain JavaScript. Nothing is uploaded or logged.