Cron expression explainer
Type a five-field cron expression to see what it means in plain English and exactly when it will run next. Mistakes are caught before they reach your crontab.
runs in your browser · nothing uploaded
How to use it
- Type or paste the expression, for example 0 9 * * 1-5.
- Read the plain-English summary and the breakdown of each field.
- Check the next five run times. They are shown in your browser's time zone.
- Click an example to start from a common schedule.
The five fields
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, where both 0 and 7 are Sunday, or SUN-SAT).
Each field takes * for every value, a number, a list (1,15), a range (1-5) or a step (*/15 means every 15th value, 10-30/5 means 10, 15 and so on up to 30). The shortcuts @hourly, @daily, @weekly, @monthly and @yearly stand for common schedules.
The day-of-month and day-of-week trap
When both day fields are restricted, cron runs when either one matches, not both. 0 0 13 * 5 runs on the 13th of every month and on every Friday, not only on Friday the 13th. This explainer follows that rule, as Vixie cron and cronie do: if either day field starts with *, both must match; otherwise either may.
Time zones
Cron runs in the time zone of the machine or service running it. Many servers and hosted schedulers use UTC, so 0 9 * * * may fire at a different local hour than you expect, and it can shift when daylight saving changes. Check the zone before you rely on a schedule.
Questions
Is what I paste sent to a server?
No. The tool runs entirely in your browser with JavaScript. Nothing you type or paste is uploaded, logged or stored by us, so it is safe to use with real data.
Why does it reject my six-field expression?
Standard cron has five fields. Quartz, Spring and some cloud schedulers add a seconds field at the start or a year at the end. Remove the extra field to check the standard part here.
How do I run a job every 5 minutes?
Use */5 * * * *. It runs at minutes 0, 5, 10 and so on of every hour.
How do I run a job on weekdays only?
Put 1-5 in the day-of-week field, for example 0 9 * * 1-5 for 9:00 Monday to Friday.