Cron Expression Parser
/cron-parser/
Related tools
Comments
About this tool
When you need to read a cron expression
cron is the scheduler on Unix-like operating systems that runs commands at set times, and crontab is the file where those schedules are written. Recurring jobs such as a nightly backup, hourly log cleanup or a weekday morning report email are mostly defined by a single five-field expression.
Read moreShow less
The trouble is that this one line is hard for people to take in. 0 */6 * * * and */6 0 * * * differ only in order, yet the first runs on the hour every 6 hours and the second runs every 6 minutes from midnight to 00:54. When you inherit someone else's crontab or review a schedule before deploying, turning it into a sentence and seeing the actual next run times is the fastest check.
This cron expression parser turns the expression into a one-line description and lists the next 5 run times from now, with weekdays. The Examples buttons load common patterns you can edit.
Cron syntax: the five fields and how they are interpreted
The five fields are, in order, minute (0 to 59), hour (0 to 23), day of month (1 to 31), month (1 to 12) and day of week (0 to 7). Each field accepts * (any value), comma lists (1,15), ranges (1-5) and steps (*/15), which can be combined. Months accept the English abbreviations JAN to DEC and weekdays SUN to SAT, and both 0 and 7 mean Sunday. The default example 30 9 * * 1-5 is described as 09:30 on weekdays (Mon to Fri); opened at 10 a.m. on Monday, October 12, 2026, it lists five runs from Tuesday the 13th at 09:30 through Monday the 19th at 09:30.
The most confusing rule applies when both day of month and day of week are set. Linux cron (the Vixie cron family) combines them with OR, not AND. 0 9 1 * 1 does not mean 'the 1st when it is a Monday' but '09:00 on the 1st of every month or every Monday', so from October 12, 2026 it runs on the 19th (Mon), the 26th (Mon), November 1 (Sun), November 2 (Mon) and November 9 (Mon).
Shortcuts are expanded before interpretation: @yearly to 0 0 1 1 *, @monthly to 0 0 1 * *, @weekly to 0 0 * * 0, @daily (or @midnight) to 0 0 * * * and @hourly to 0 * * * *. Months without a 31st are simply skipped for 0 0 31 * *, so November is missing from the list, and 0 0 29 2 * first appears on February 29, 2028, the next leap year. Next runs are searched within the next 5 years.
How cron formats differ across platforms
Platforms that use the name cron do not all share the same syntax. Spring's @Scheduled uses six fields with seconds first. The Java Quartz scheduler uses six or seven fields, starting with seconds and optionally ending with a year; one of day of month or day of week must be ?, and its weekday numbers start with 1 for Sunday, one off from Linux.
AWS EventBridge rule cron(...) expressions have six fields, minute, hour, day of month, month, day of week and year, and again one of the day fields must be ?. EventBridge rules and GitHub Actions schedules run in UTC, so a job meant for 9 a.m. Korea time needs 0 in the hour field.
Common cron mistakes and the parser's limits
Strictly speaking, */15 means not 'every 15 minutes' but 'minutes counting up by 15 from 0'. So */7 runs at minutes 0, 7, 14 and so on up to 56 and then at minute 0 of the next hour, leaving only 4 minutes between 56 and 0. A start value without a range, such as 5/20, is read here as 5-59/20, but some cron implementations reject it, so writing 5-59/20 explicitly is safer.
Quartz extensions such as L (last day), W (nearest weekday) and # (nth weekday of the month), and @reboot, are not interpreted; ? is accepted as meaning the same as *. Next runs are calculated in this device's time zone, so if the server runs in UTC the times shown here will be offset by your UTC difference.
Often the expression is right but the job still does not run. Unlike a login shell, cron sets only a minimal environment, including PATH, so commands are usually given with absolute paths, and in the command part of a crontab % is treated as a newline, so a command like date +%Y needs \% escaping. This tool interprets only the first five fields, the schedule, and does not deal with the command part. Your expression is kept in this browser's localStorage for next time and cleared with Reset; nothing is sent to a server.
Popular tools
FAQ
What does */15 mean in cron?
Every 15 minutes starting from minute 0, that is, at minutes 0, 15, 30 and 45 of every hour. 5-59/20 starts at minute 5 with a step of 20, giving 5, 25 and 45. Steps such as */7 that do not divide 60 leave a shorter gap just before the hour.
What is the cron expression for every day at 9 a.m.?
0 9 * * *. For weekdays only use 0 9 * * 1-5, and for weekends only 0 9 * * 0,6 or 0 9 * * SAT,SUN. In environments that run in UTC, such as many servers and GitHub Actions, 9 a.m. local time has to be converted; 9 a.m. Korea time, for example, is 0 0 * * *.
What happens if I set both day of month and day of week?
Following Linux cron rules, the job runs when either one matches. 0 9 1 * 1 runs at 09:00 on the 1st of every month and on every Monday. A condition like 'only when the 1st is a Monday' cannot be expressed in cron alone, so the command has to check the date itself.
Does it support 6-field (seconds) or Quartz expressions?
No. Only the five fields of a Linux crontab are interpreted. Most Quartz or Spring expressions can be checked by removing the leading seconds field, and ? is read as *. Quartz weekday numbers (1 = Sunday) differ from Linux (0 = Sunday), so switching to English abbreviations is more reliable.
Which time zone are the next run times shown in?
This device's time zone. If the server runs in UTC, the actual times will differ by your offset from UTC, 9 hours in Korea for example. AWS EventBridge rules and GitHub Actions schedules also use UTC.
How do I run a cron job on the last day of the month?
Standard five-field cron has no 'last day' syntax; L is an extension in Quartz and some other implementations. On Linux, a common approach is to schedule the job for days 28 to 31 and have the command check whether the next day is the 1st. This tool does not interpret L.