Developer Tools
Cron Expression Helper: Explain and Check a Schedule
Paste a five-field cron expression to see what it means in plain English, the values each field matches and the next run times in your local time zone.
How to use Cron Expression Helper: Explain and Check a Schedule
Type a five-field cron expression such as 0 9 * * 1-5, or a macro like @daily, then set how many upcoming runs to list, up to 20. The meaning, field table and run times update as you type.
- Enter the expressionUse minute, hour, day of month, month and day of week, e.g. */15 * * * *, or a macro such as @weekly.
- Check each fieldThe field table shows the values each part matches, so */3 in the month field becomes 1,4,7,10.
- Review upcoming runsList 1 to 20 future runs, shown with the weekday in your browser's local time zone.
The five fields and common patterns
A standard cron line has five fields: 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 0 and 7 both mean Sunday). Use * for every value, commas for lists, a hyphen for ranges and a slash for steps. For example, 0 9 * * 1-5 runs at 09:00 Monday to Friday, */15 * * * * runs every 15 minutes and 0 2 * * * runs at 02:00 every day. The macros @hourly, @daily, @midnight, @weekly, @monthly, @yearly and @annually are expanded to their five-field form.
When day of month and day of week are both set
Cron treats the two day fields specially. If either of them starts with *, including steps such as */2, a run has to match both, so 0 9 */2 * 1 runs only on Mondays that fall on an odd-numbered day. If both are restricted, a run happens when either one matches. So 0 9 1 * 1 does not mean the 1st of the month only when it is a Monday: it runs at 09:00 every Monday and also on the 1st of every month. The run list makes this visible, and if no date can ever match, such as 0 0 30 2 * for 30 February, the helper warns that no run time was found.
Accuracy and data handling
Validate the result with your project's own tests and runtime rules before using it in production. The calculation runs in your current browser; the tool code does not send the input to a processing API.
FAQ
How do I write a cron job for 2am every day?
Use 0 2 * * *. The first field is the minute (0) and the second is the hour (2), with * for any day, month and weekday. For 2:30am use 30 2 * * *.
Does it support six-field cron with seconds?
No. It accepts the classic five fields used by crontab and most Linux schedulers. Quartz-style expressions with a seconds or year field are rejected, and Quartz extras such as L, W and # are not supported.
What time zone are the next run times in?
Your browser's local time zone. Cron itself runs in the time zone of the server or service that executes it, so if that machine uses UTC, shift the listed times accordingly.
What do @daily and @hourly mean?
They are shortcuts. @hourly is 0 * * * *, @daily and @midnight are 0 0 * * *, @weekly is 0 0 * * 0, @monthly is 0 0 1 * * and @yearly or @annually is 0 0 1 1 *.
More Developer Tools
Related toolsBase64, Base64URL and URL percent-encoding in one place, UTF-8 safe.
Bulk-generate random v4 or sortable v7 UUIDs in four formats.
Highlight regex matches, inspect groups and preview replacements live.
Encode or decode URLs and query values with %XX, encodeURI or form rules
Encode special characters as HTML entities or decode entities back to text
Decode a JWT's header and payload, check expiry and verify the signature