About the Cron expression generator & parser
Cron is the scheduler used by Linux servers, CI pipelines, Kubernetes CronJobs and many hosting platforms to run tasks on a timetable. A cron expression packs that timetable into five fields, such as */15 9-17 * * 1-5, which is compact but easy to get wrong.
This tool works as both a generator and a parser. Start from a preset to build a schedule, or paste an existing expression to parse it: you get a plain-English description, a breakdown of what each of the five fields means, and the next 5, 10 or 20 run times, so you can confirm a schedule does what you expect before you deploy it.
How to use the Cron expression generator & parser
- Pick a schedule in the Preset menu, or type your own expression in the editor.
- Choose whether to show times in UTC or your local time zone, and how many upcoming runs to list.
- Click Parse & explain or press Ctrl + Enter (Cmd + Enter on Mac).
- Check the description, the field-by-field breakdown and the next run times, then copy the expression into your crontab or config.
Examples
Every 15 minutes during working hours on weekdays
Input
*/15 9-17 * * 1-5Output
Every 15 minutes, between 09:00 and 17:59, Monday through Friday
Field Value Means
Minute */15 0, 15, 30, 45
Hour 9-17 9–17
Day of month * every day
Month * every month
Day of week 1-5 Monday–FridayThe tool also lists the next run times in UTC or your local time zone.
At 02:30 on the first day of every month
Input
30 2 1 * *Output
At 02:30, on day 1 of the month
Field Value Means
Minute 30 30
Hour 2 2
Day of month 1 1
Month * every month
Day of week * every day of the weekCommon errors and how to fix them
This has 6 fields. Standard cron uses 5 (minute hour day month weekday); remove the seconds or year field.
The expression was written for Quartz, Spring or node-cron, which add a seconds field. Linux crontab, Kubernetes and GitHub Actions use 5 fields: drop the first field.
The hour must be from 0 to 23, but got 25.
A value is outside its allowed range. Hours go from 0 to 23, minutes from 0 to 59, days of the month from 1 to 31 and weekdays from 0 to 6 (Sunday is 0, and 7 is also accepted).
The job runs at the wrong hour
Cron uses the server's time zone, and GitHub Actions and most cloud schedulers use UTC. Convert your local time to UTC, or set CRON_TZ / the timeZone field where supported.
Good to know
- The five fields are 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 both 0 and 7 mean Sunday).
- Each field accepts
*(any value), lists like1,15, ranges like1-5, and steps like*/10or0-30/5. Shortcuts@hourly,@daily,@weekly,@monthlyand@yearlyalso work. - When both day of month and day of week are set, the job runs when either one matches.
0 0 1 * 1runs on the 1st of every month and on every Monday. - Cron runs in the time zone of the machine or service it is configured on, which is often UTC. Compare both time zone options if you are unsure.
- Some systems use 6 fields with seconds, such as Quartz or certain cloud schedulers. This tool uses the standard 5-field format.
Frequently asked questions
What does */15 mean in cron?
It means every 15th value of that field. In the minute field, */15 runs at minutes 0, 15, 30 and 45 of every hour.
How do I run a cron job every weekday?
Use 1-5 in the day of week field, Monday to Friday. For example, 0 9 * * 1-5 runs at 09:00 on every weekday.
Why didn't my cron job run at the time shown?
The most common cause is a time zone difference: many servers and cloud schedulers use UTC. Check the server's time zone, and switch this tool between UTC and local time to compare.