Cron Expression Generator
Assemble a five-field cron expression, read it in plain language, and list the next run times.
Your data stays in your browser. This tool processes your input locally and does not upload it to a server.
At 00:00
Next runs
- 12/1/2026, 12:00:00 AM
- 12/2/2026, 12:00:00 AM
- 12/3/2026, 12:00:00 AM
- 12/4/2026, 12:00:00 AM
- 12/5/2026, 12:00:00 AM
What is a cron expression?
A cron expression is a short string of five space-separated fields (minute, hour, day of month, month, day of week) that tells a scheduler when to run a job. This tool builds one from presets or fields, checks the ranges, explains it in plain English, and lists the next five run times.
The five fields
Read a standard expression left to right: minute (0-59), hour (0-23), day of month (1-31), month (1-12) and day of week (0-7, where both 0 and 7 mean Sunday). An asterisk means "every value". A comma lists values (1,15), a hyphen sets a range (1-5), and a slash sets a step (*/15 means every 15 units).
Month and weekday names such as JAN or MON are accepted. The tool also accepts a six-field form with a leading seconds field and notes that it is non-standard, because many systems (including classic crontab) only support five fields.
How to use the generator
Pick a preset (every minute, hourly, daily, weekly or monthly), edit any field, or paste an expression into the expression box. The tool validates each field against its allowed range, shows a plain-language description, and prints the next five run times so you can confirm the schedule before deploying it.
Upcoming runs use your browser’s local time zone. The server that runs the job may use UTC or another zone, so check the scheduler’s time zone setting before relying on the clock times shown.
Privacy
Parsing and next-run calculation happen in your browser. Your expression is not sent anywhere.
Examples
Every 15 minutes
Input
*/15 * * * *Output
Every 15 minutesWeekday mornings
Input
0 9 * * 1-5Output
At 09:00, Monday through FridayMonthly at 02:30
Input
30 2 1 * *Output
At 02:30, on day 1 of the monthDay of month and day of week together
Input
0 0 13 * 5Output
At 00:00, on day 13 of the month, and on FridayThis runs on the 13th of every month and also on every Friday, not only on Friday the 13th.
Common mistakes and edge cases
- When both day of month and day of week are restricted, standard cron runs when either one matches (OR), not both. "0 0 13 * 5" fires on every Friday and on every 13th.
- Use */5 for "every 5 minutes", not 5 * * * *, which means only at minute 5 of every hour.
- Cron has no year field, and steps restart at the start of each range. "*/20" in the hour field means hours 0 and 20, not every 20 hours continuously.
- The schedule runs in the scheduler’s time zone and may skip or repeat during daylight saving changes. Prefer UTC for jobs that must run exactly once.
- Not every system supports the same syntax. Quartz, Spring and some cloud schedulers use six or seven fields or extra characters. Check your platform’s documentation.
- Day-of-week numbering differs between tools. In this tool 0 and 7 both mean Sunday and 1 means Monday.
How to use this tool
- Start from a preset or fill minute, hour, day, month, and weekday.
- Edit the expression directly if you already have one.
- Copy the expression after the explanation and next runs look right.
Frequently asked questions
What does * * * * * mean in cron?
Five asterisks mean "every minute of every hour of every day". The job runs once per minute, all the time. It is the Every minute preset in this tool. For less frequent jobs, fix at least the minute field, for example 0 * * * * to run at the top of every hour.
How do I run a cron job every 5 or 10 minutes?
Use a step value in the minute field: */5 * * * * runs every 5 minutes and */10 * * * * runs every 10 minutes. The steps count from minute 0, so */10 fires at :00, :10, :20 and so on. Check the next-runs list to confirm.
Which time zone does the next-run preview use?
The preview uses your browser’s local time zone. Real schedulers use their own setting, often UTC on servers and cloud platforms. If your job runs in a different zone, convert the times before you compare them with the preview.
Does this tool support seconds or special strings like @daily?
It accepts an optional leading seconds field (six fields) and flags it as non-standard. Standard five-field expressions are the main format. Do not rely on shortcut strings like @daily or @reboot here; write the equivalent expression, for example 0 0 * * * for daily at midnight.
Why does my cron job run on days I did not expect?
Most often you set both the day of month and the day of week. Standard cron treats them as an OR, so the job runs when either matches. To restrict to one, leave the other as *, or add a check inside the job itself.
References
Last reviewed