Cron Expression Explainer

Read a cron schedule in plain English and see when it will run.

How to explain a cron schedule

Enter an expression or choose a preset, then select the schedule’s time zone to preview up to 10 runs within the next five years. The field breakdown shows the five values that make up the schedule, including the expansion of shortcuts such as @weekly.

Use * for every value, 1,5 for a list, 1-5 for a range, and */15 or 10-40/10 for steps. You can use JAN–DEC for months and SUN–SAT for weekdays. Both 0 and 7 mean Sunday.

FAQ

What are the five cron fields? In order, they are minute (0–59), hour (0–23), day of month (1–31), month (1–12), and day of week (0–7). For example, 0 9 * * MON-FRI runs at 09:00 Monday through Friday.

How do day of month and day of week work together? When neither field starts with *, either field can match. For example, 0 9 1 * MON runs at 09:00 on the first of each month and on Mondays. If either day field starts with *, both fields must match. For example, 0 0 */2 * MON runs at midnight on Mondays that fall on odd-numbered days of the month.

Which time zone does cron use? A cron daemon normally uses the server’s time zone. Some implementations also support a per-schedule time zone. Choose Local time when your device uses the same zone as the schedule. During daylight saving transitions, the local preview shows both occurrences of repeated times and skips missing times. Daemon behavior can vary.

Can I add a seconds field? Standard five-field crontab starts with minutes. Some other schedulers add seconds or a year field. This tool supports five-field schedules and cron macros.

Convert dates and epoch values with the Unix timestamp converter.