Read any cron schedule in plain English and see its next 10 run times, or build one from presets and field inputs. Macros, names and steps supported.
Five fields separated by spaces control when a backup runs, an invoice goes out or a cache is cleared, and a single misplaced number can change it from “every weekday” to “every minute”. The Cron Expression Explainer reads the schedule back to you in plain English, lists the next ten times it will actually fire, and lets you build or edit it one field at a time.
It reads standard five-field cron (minute, hour, day of month, month, day of week) as Vixie cron and most Linux systems run it. It also accepts the @daily, @weekly, @monthly, @yearly and @hourly macros, month and weekday names such as JAN and MON, and both 0 and 7 for Sunday.
The page opens on */15 9-17 * * 1-5, which reads as “Every 15 minutes, between 09:00 and 17:59, on Monday through Friday.”
*/15 expands to 0, 15, 30 and 45.9-17 covers 09 to 17. That is nine hours, so the last run of the day is 17:45, not 17:00.Load Sample then steps through a Sunday 02:00 backup, 30 6 1,15 * *, 0 */6 * * * and 0 9 * JAN,JUL MON.
When both day fields are restricted, cron runs when either matches, not when both do. 0 0 13 * 5 therefore fires on every 13th and on every Friday, not only on Friday the 13th. A yellow note appears whenever both fields are set. A step that starts from a number keeps going to the end of the range, so 5/15 in the minute field means 5, 20, 35 and 50.
Run times are searched five years ahead. 0 0 29 2 * finds the next leap day, while 0 0 30 2 * reports that it never runs. Mistakes are named precisely, for example “Minute value 75 is out of range 0–59.” A six-field Quartz expression with seconds is pointed out rather than misread.
Presets
In plain English
Every 15 minutes, between 09:00 and 17:59, on Monday through Friday.
36 runs on each matching day
0, 15, 30, 45
09, 10, 11, 12, 13, 14, 15, 16, 17
every day
every month
Mon, Tue, Wed, Thu, Fri
Next 10 runs
Crontab line: */15 9-17 * * 1-5 /path/to/command