Time & Date

Cron Expression Explainer

Paste a cron expression to read it in plain English, check each field and see when it will run next.

Guide: Cron Expression Explained: Syntax, Examples, Mistakes

Ready.
FieldValueMeans

Next runs

#Date and time

What it does

Cron schedules recurring jobs on Linux, macOS and many hosting platforms. A standard expression has five fields: minute hour day-of-month month day-of-week. This tool translates one into plain English, expands every field and calculates the next run times.

Syntax

  • * means every value, , separates a list (1,15), - is a range (9-17) and / is a step (*/15 means every 15).
  • Months and weekdays can be written as names (JAN, MON-FRI). Sunday is 0 or 7.
  • Shortcuts such as @daily, @hourly, @weekly, @monthly and @yearly are understood.

Day of month and day of week

When both fields are restricted, standard cron runs the job when either matches. For example 0 0 13 * 5 runs on the 13th of every month and on every Friday. Six-field expressions with seconds and Quartz symbols (L, W, #) are not supported.

Example and common mistakes

*/15 9-17 * * 1-5 reads as "every 15 minutes, between 09:00 and 17:59, Monday through Friday". Because the hour range ends at 17, the last run of each day is 17:45, not 17:00.

  • Steps restart each hour. */7 * * * * runs at minutes 0, 7, 14 and so on up to 56, then again at minute 0 of the next hour, so the gap after 56 is only 4 minutes. It is not "every 7 minutes from now".
  • Time zone. The next runs are shown in UTC by default. Cron itself uses the time zone of the machine or service that runs it, so choose "My local time" only if that matches your browser's zone. To convert a run time between zones, use the Time Zone Converter, or the Unix Timestamp Converter when the time is a timestamp in a log.
  • Impossible dates. 0 0 30 2 * is valid but never runs. The tool searches about 8 years ahead and says so when it finds nothing; 0 0 29 2 * shows only leap-year days.
  • Not an executable check. The explainer reads the schedule only. A job still needs the right path and an execute bit on its script; see the Chmod Calculator for permissions.

Examples

  • 0 9 * * 1-5 is explained as “At 09:00, on Monday through Friday.” The table expands each field, for example day of week 1-5 means Monday, Tuesday, Wednesday, Thursday and Friday, and the next runs list shows the coming weekdays at 09:00.
  • 0 0 13 * 5 is explained as “At 00:00, on day 13 of the month or on Friday.” Many people expect this to mean only Friday the 13th, but when both fields are restricted, standard cron runs the job when either one matches, so it runs on every Friday and on the 13th of every month.
  • */15 9-17 * * 1-5 runs every 15 minutes between 09:00 and 17:45 on weekdays; the 17:00 hour includes 17:00, 17:15, 17:30 and 17:45.

Time zone: UTC or your own

Cron runs in the time zone of the machine or service that executes it, and many cloud schedulers use UTC. Choose the zone in the tool to see the next runs in UTC or in your local time, and compare them with the Time Zone Converter before you rely on a schedule around a daylight saving change. For a precise instant, use the Timestamp Converter.

Frequently asked questions

Does it support six fields with seconds, or Quartz symbols?

No. It supports the standard five fields. Six-field expressions with seconds and Quartz symbols such as L, W and # are not supported.

Is Sunday 0 or 7?

Both. Sunday can be written as 0 or 7, and names such as SUN or MON-FRI also work.

Can I use @daily and similar shortcuts?

Yes. @hourly, @daily, @weekly, @monthly and @yearly are understood.

Is my expression uploaded?

No. The explanation and the run times are calculated in your browser.

Privacy

This tool runs entirely in your browser. What you enter is processed on your device and is not sent to a server.

Share this tool

Your data is not included in this link.