Cron Expression Explainer
A cron expression has five fields: minute, hour, day of month, month and day of week. */15 9-17 * * MON-FRI means: Every 15 minutes, between 09:00 and 17:59, on Monday through Friday. Counting from Monday, January 5, 2026 at 08:00 UTC, the first run is Mon, Jan 5, 2026, 09:00 UTC and the tenth is Mon, Jan 5, 2026, 11:15 UTC. Paste your own expression below to get its plain-English meaning and its next 10 run times, in your time zone or in UTC.
Updated By ponderloop editorial · How we checkRuns in your browser: nothing you enter is uploadedHow this tool works
What it means
Every 15 minutes, between 09:00 and 17:59, on Monday through Friday.
Next 10 runs
Counted from Monday, January 5, 2026 at 08:00 UTC, a fixed reference time for this example, and shown in UTC. Once the page loads, the list is recounted from the current time.
Field by field
| Field | You wrote | Meaning |
|---|---|---|
| Minute | */15 | every 15 minutes |
| Hour | 9-17 | hour 09 through 17 |
| Day of month | * | every day of the month |
| Month | * | every month |
| Day of week | MON-FRI | Monday through Friday |
Cron expression for a given schedule
| Schedule | Expression | Meaning | Next three runs (UTC) |
|---|---|---|---|
| Every 5 minutes | */5 * * * * | Every 5 minutes, every day. | Mon, Jan 5, 2026, 08:05 UTC; Mon, Jan 5, 2026, 08:10 UTC; Mon, Jan 5, 2026, 08:15 UTC |
| Every 15 minutes | */15 * * * * | Every 15 minutes, every day. | Mon, Jan 5, 2026, 08:15 UTC; Mon, Jan 5, 2026, 08:30 UTC; Mon, Jan 5, 2026, 08:45 UTC |
| Every hour, on the hour | 0 * * * * | Every hour, on the hour, every day. | Mon, Jan 5, 2026, 09:00 UTC; Mon, Jan 5, 2026, 10:00 UTC; Mon, Jan 5, 2026, 11:00 UTC |
| Every 2 hours | 0 */2 * * * | On the hour, every 2 hours, every day. | Mon, Jan 5, 2026, 10:00 UTC; Mon, Jan 5, 2026, 12:00 UTC; Mon, Jan 5, 2026, 14:00 UTC |
| Every weekday at 9:00 | 0 9 * * 1-5 | At 09:00, on Monday through Friday. | Mon, Jan 5, 2026, 09:00 UTC; Tue, Jan 6, 2026, 09:00 UTC; Wed, Jan 7, 2026, 09:00 UTC |
| Every Monday at 9:00 | 0 9 * * MON | At 09:00, on Monday. | Mon, Jan 5, 2026, 09:00 UTC; Mon, Jan 12, 2026, 09:00 UTC; Mon, Jan 19, 2026, 09:00 UTC |
| Monday, Wednesday and Friday at noon | 0 12 * * 1,3,5 | At 12:00, on Monday, Wednesday and Friday. | Mon, Jan 5, 2026, 12:00 UTC; Wed, Jan 7, 2026, 12:00 UTC; Fri, Jan 9, 2026, 12:00 UTC |
| Twice a day, at 9:00 and 17:00 | 0 9,17 * * * | At 09:00 and 17:00, every day. | Mon, Jan 5, 2026, 09:00 UTC; Mon, Jan 5, 2026, 17:00 UTC; Tue, Jan 6, 2026, 09:00 UTC |
| Weekends at midnight | 0 0 * * 6,0 | At 00:00, on Saturday and Sunday. | Sat, Jan 10, 2026, 00:00 UTC; Sun, Jan 11, 2026, 00:00 UTC; Sat, Jan 17, 2026, 00:00 UTC |
| Sunday at 2:30 in the morning | 30 2 * * SUN | At 02:30, on Sunday. | Sun, Jan 11, 2026, 02:30 UTC; Sun, Jan 18, 2026, 02:30 UTC; Sun, Jan 25, 2026, 02:30 UTC |
| The first of every month at 14:15 | 15 14 1 * * | At 14:15, on the 1st of the month. | Sun, Feb 1, 2026, 14:15 UTC; Sun, Mar 1, 2026, 14:15 UTC; Wed, Apr 1, 2026, 14:15 UTC |
| Every three months, on the 1st | 0 0 1 */3 * | At 00:00, on the 1st of January, April, July and October. | Wed, Apr 1, 2026, 00:00 UTC; Wed, Jul 1, 2026, 00:00 UTC; Thu, Oct 1, 2026, 00:00 UTC |
| Only on 29 February | 0 0 29 2 * | At 00:00, on the 29th of February. | Tue, Feb 29, 2028, 00:00 UTC; Sun, Feb 29, 2032, 00:00 UTC; Fri, Feb 29, 2036, 00:00 UTC |
Common cron expressions in plain English
| Expression | Meaning | First run after the reference time (UTC) |
|---|---|---|
| * * * * * | Every minute, every day. | Mon, Jan 5, 2026, 08:01 UTC |
| */5 * * * * | Every 5 minutes, every day. | Mon, Jan 5, 2026, 08:05 UTC |
| 0 * * * * | Every hour, on the hour, every day. | Mon, Jan 5, 2026, 09:00 UTC |
| 0 0 * * * | At 00:00, every day. | Tue, Jan 6, 2026, 00:00 UTC |
| 30 8 * * MON-FRI | At 08:30, on Monday through Friday. | Mon, Jan 5, 2026, 08:30 UTC |
| 0 9-17 * * 1-5 | On the hour, between 09:00 and 17:59, on Monday through Friday. | Mon, Jan 5, 2026, 09:00 UTC |
| 0 0 * * 0 | At 00:00, on Sunday. | Sun, Jan 11, 2026, 00:00 UTC |
| 0 0 1 * * | At 00:00, on the 1st of the month. | Sun, Feb 1, 2026, 00:00 UTC |
| 0 0 1 1 * | At 00:00, on the 1st of January. | Fri, Jan 1, 2027, 00:00 UTC |
| 0 0 1,15 * * | At 00:00, on the 1st and 15th of the month. | Thu, Jan 15, 2026, 00:00 UTC |
| */10 * * * * | Every 10 minutes, every day. | Mon, Jan 5, 2026, 08:10 UTC |
| 0 */6 * * * | At 00:00, 06:00, 12:00 and 18:00, every day. | Mon, Jan 5, 2026, 12:00 UTC |
| 0 22 * * 5 | At 22:00, on Friday. | Fri, Jan 9, 2026, 22:00 UTC |
| 0 0 1 JAN,APR,JUL,OCT * | At 00:00, on the 1st of January, April, July and October. | Wed, Apr 1, 2026, 00:00 UTC |
The five fields of a cron expression
| Position | Field | Allowed values | Names |
|---|---|---|---|
| 1 | Minute | 0–59 | None |
| 2 | Hour | 0–23 | None |
| 3 | Day of month | 1–31 | None |
| 4 | Month | 1–12 | JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC |
| 5 | Day of week | 0–7 (0 and 7 are both Sunday) | SUN, MON, TUE, WED, THU, FRI, SAT |
Cron syntax: star, comma, dash and slash
| Symbol | Example | Meaning of the example | What it does |
|---|---|---|---|
| * | * * * * * | Every minute, every day. | Every value of the field |
| , | 0,30 * * * * | At minutes 0 and 30 past the hour, every day. | A list: each value named |
| - | 0 9-17 * * * | On the hour, between 09:00 and 17:59, every day. | A range: from the first value to the last, inclusive |
| / | */15 * * * * | Every 15 minutes, every day. | A step: every nth value of the range |
| / | 10-40/10 * * * * | Every 10 minutes, from minute 10 through 40 past the hour, every day. | A step inside a range |
| Names | 0 0 * JAN-MAR MON,FRI | At 00:00, on Monday and Friday in January through March. | Month and day names instead of numbers |
Cron macros: @daily, @hourly and the rest
| Macro | Same as | Meaning |
|---|---|---|
| @yearly | 0 0 1 1 * | At 00:00, on the 1st of January. |
| @annually | 0 0 1 1 * | At 00:00, on the 1st of January. |
| @monthly | 0 0 1 * * | At 00:00, on the 1st of the month. |
| @weekly | 0 0 * * 0 | At 00:00, on Sunday. |
| @daily | 0 0 * * * | At 00:00, every day. |
| @midnight | 0 0 * * * | At 00:00, every day. |
| @hourly | 0 * * * * | Every hour, on the hour, every day. |
Day of month and day of week together
| Expression | Day fields | Meaning |
|---|---|---|
| 0 0 13 * FRI | Both set: either matches | At 00:00, on the 13th of the month, or on Friday. |
| 0 0 13 * * | One set: it decides | At 00:00, on the 13th of the month. |
| 0 0 * * FRI | One set: it decides | At 00:00, on Friday. |
| 0 0 */2 * MON | Starts with a star: both must match | At 00:00, on every 2nd day of the month, but only on Monday. |
Invalid cron expressions and what the error means
| Expression | Message |
|---|---|
| */90 * * * * | Minute: the step in “*/90” is larger than the minute field (at most 60). |
| 60 * * * * | Minute: “60” is out of range: minute takes 0–59. |
| 0 24 * * * | Hour: “24” is out of range: hour takes 0–23. |
| 0 0 32 * * | Day of month: “32” is out of range: day of month takes 1–31. |
| 0 0 1 13 * | Month: “13” is out of range: month takes 1–12 (or JAN–DEC). |
| 0 0 * * 8 | Day of week: “8” is out of range: day of week takes 0–7 (or SUN–SAT). |
| 5-1 * * * * | Minute: the range “5-1” runs backwards. |
| 0 0 * * FRI-MON | Day of week: the range “FRI-MON” runs backwards (to run over a weekend write 5-7 or FRI,SAT,SUN). |
| 0 0 L * * | Day of month: “L” is a Quartz/Spring extension, not standard cron. |
| * * * * | Expected 5 fields (minute, hour, day of month, month, day of week) but found 4. Missing: day of week. |
| 0 0 * * * * | Expected 5 fields (minute, hour, day of month, month, day of week) but found 6. Standard cron has no seconds or year field; remove the extra field. |
Standard cron compared with Quartz and AWS EventBridge
| Feature | Standard cron (crontab) | Quartz and Spring | AWS EventBridge |
|---|---|---|---|
| Fields | Five: minute, hour, day of month, month, day of week | Six or seven: seconds first, optional year last | Six: minute, hour, day of month, month, day of week, year |
| Special symbols | None beyond star, comma, dash and slash | ? L W # as well | ? L W # as well |
| Day fields | Either-or when both are set | One of the two must be ? | One of the two must be ? |
How to read a cron expression
- Paste the expression. Type or paste five fields separated by spaces, such as */15 9-17 * * MON-FRI, or a macro such as @daily.
- Read the description. The sentence under the box says when the job runs. Below it, a table reads each field on its own, so you can see which part means what.
- Fix any error. If a field is wrong, the message names it and says what is allowed there: for example, that the minute must be 0–59 or that a range cannot run backwards.
- Check the next run times. The list shows the next 10 times the job runs, starting from now. Switch between your own time zone and UTC to see them as a server set to UTC would run them.
Frequently asked questions
- What do the five fields of a cron expression mean?
- From 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 or SUN–SAT, where 0 and 7 are both Sunday). A star means every value. For example, */15 9-17 * * MON-FRI reads as: Every 15 minutes, between 09:00 and 17:59, on Monday through Friday.
- What happens when both day of month and day of week are set?
- The job runs when either one matches, not only when both do. This is the POSIX rule, and Vixie cron and cronie follow it. At 00:00, on the 13th of the month, or on Friday: so 0 0 13 * FRI runs on every 13th and on every Friday, not just Friday the 13th. To run only when both match, leave one of the two as a star and test the other condition inside the job (for example, check the weekday in the script).
- Why does */2 in the day-of-month field behave differently?
- Vixie cron and cronie treat a day field as unrestricted when its text starts with a star, even with a step. So 0 0 */2 * MON counts day of month as unrestricted and requires both to match: every second day of the month that is also a Monday. This tool follows that behavior and labels the result so you can see it. The POSIX text only talks about fields given as an element or list, so other cron implementations may differ here.
- Is 7 Sunday in cron?
- Yes. Day of week runs from 0 to 6 with 0 as Sunday, and most crons also accept 7 as Sunday, so 5-7 means Friday through Sunday. The names SUN to SAT work too. A range cannot wrap around, so FRI-MON is an error: write FRI,SAT,SUN,MON or 5-7,1.
- What do @daily, @hourly and the other macros mean?
- @yearly (or @annually) is 0 0 1 1 *, @monthly is 0 0 1 * *, @weekly is 0 0 * * 0, @daily (or @midnight) is 0 0 * * * and @hourly is 0 * * * *. @reboot runs once when the cron daemon starts, so it has no schedule to explain.
- Why does an expression like 0 0 30 2 * say “never runs”?
- February never has a 30th day, so no date matches. The tool searches the next 100 years, skipping whole months and days that cannot match, and says “never runs” when it finds nothing. A schedule on 29 February, by contrast, is valid and runs only in leap years: 0 0 29 2 * runs every four years (except across a century year that is not a leap year, such as 2100).
- Which time zone do the run times use?
- Cron runs jobs in the time zone of the machine (or the CRON_TZ setting in some versions), which on many servers is UTC. The list shows the times in your device’s zone by default and in UTC when you switch. Around a daylight saving change the tool lists a time that the clocks skip as not run and a time they repeat once; real cron daemons handle those hours in slightly different ways, so avoid scheduling jobs between 01:00 and 03:00 local time on a zone that changes.
- Does it support six fields, seconds, L, W, # or ?
- No. This tool reads standard five-field cron as used by crontab. Quartz, Spring and AWS EventBridge expressions have a seconds or year field and extra symbols (?, L, W, #) that standard cron does not have, and the tool says so when it sees them.
- How do I run a cron job every 5 minutes?
- Use */5 * * * *. The tool reads it as: Every 5 minutes, every day. The same pattern works for any step that divides 60 evenly, such as */10, */15 or */30.
- What is the cron expression for every weekday at 9 AM?
- 0 9 * * 1-5 (or 0 9 * * MON-FRI). It reads as: At 09:00, on Monday through Friday. Cron uses the 24-hour clock, so 9 PM is 21 and 5 PM is 17.
- How do I run a job every 90 minutes, or every 3 hours starting at 1 AM?
- Cron cannot express an interval that does not divide the hour or the day evenly. Typing */90 in the minute field gives this error: Minute: the step in “*/90” is larger than the minute field (at most 60). An interval of whole hours works: 0 */3 * * * runs at 00:00, 03:00, 06:00 and so on. For a different start, list the hours: 0 1,4,7,10,13,16,19,22 * * * is every 3 hours from 01:00. For exact every-90-minutes spacing, run the job every 30 minutes and have the script skip the runs it does not need.
- How do I run a cron job on the last day of the month?
- Standard cron has no “last day” symbol (L is a Quartz extension). The usual workaround is to run on days 28 to 31 (0 0 28-31 * *, which reads as: At 00:00, on the 28th through the 31st of the month.) and have the script exit unless tomorrow is the 1st. The check inside the script is what makes it a last-day job, because the schedule alone starts the job on every one of those days that exists.
- Why does my cron expression work in Quartz or AWS but not here?
- Quartz, Spring and EventBridge use a different format: Quartz adds a leading seconds field and symbols such as ?, L, W and #, and EventBridge adds a year field. Remove the extra field, replace ? with *, and rewrite L, W and # conditions in the script.
- Is anything I paste sent to a server?
- No. The expression is read and the run times are worked out in your browser. The page counts only that the tool was used, never what you typed.
How it works
The expression is split on spaces into five fields (or one macro, which is replaced by its five fields). Each field is a comma-separated list of items, and each item is a star, a value or a range with an optional step; month and day names are turned into numbers, and a day of week of 7 is read as 0. The result is the set of values the field matches, and every field with a problem gets its own error message. The star, lists, ranges and the 0 to 6 day-of-week numbers are in POSIX; month and day names, steps, 7 as Sunday and the macros come from Vixie cron and are documented in crontab(5). The either-or day rule is from POSIX: when both day of month and day of week are restricted a day matches if either matches. As in Vixie cron and cronie, a field whose text starts with a star counts as unrestricted. The next run times are found by skipping, not by checking every minute: for a given moment the search moves to the next month in the month set, the next matching day, then the next matching hour and minute, so even a yearly job takes a handful of steps. It stops after 100 years, which is how a schedule that cannot match is reported as never running. The schedule is read on the wall clock of the zone you choose (your device’s zone or UTC), then converted to an instant with the browser’s time zone database. A wall time skipped by a spring-forward change is not run; one repeated in autumn runs once, at its first occurrence. The static example on this page is fixed: its run times are counted from Monday, January 5, 2026 at 08:00 UTC in UTC, so the page looks the same whenever it is built. Once the page loads, the list is counted from the current time.
Cron runs on the 24-hour clock, so convert 12-hour times to military time before you write the schedule; for weekly jobs, see which week number a date is in.
Sources
Guides
- Cron Expressions Explained: The Five Fields, With ExamplesA cron expression has five fields: minute, hour, day of month, month, day of week. Ranges, steps, lists, the day OR rule, macros and the time zone trap.
More free tools
- Unix Timestamp ConverterConvert a Unix timestamp to a date and a date to a timestamp. Seconds to nanoseconds, any time zone, plus a live counter of the current Unix time.
- Chmod CalculatorConvert Unix file permissions between a checkbox grid, octal (755, 4755), ls -l text (rwxr-xr-x) and chmod commands; apply changes like u+x,go-w.
- IP Subnet CalculatorWork out the network, broadcast, usable hosts, masks and binary of any IPv4 CIDR block, split it into subnets, and expand or compress IPv6 addresses.
- Timesheet CalculatorAdd up hours worked per week from start and end times like 8:30-17:00 and unpaid lunch breaks, overnight shifts included. Optional pay and overtime.
- Business Days CalculatorCount working days between two dates, or add and subtract business days from a date. Skips weekends and US federal holidays on their observed dates.
- Speed, Distance and Time CalculatorEnter any two of speed, distance and time and get the third, in mph, km/h, knots and more. Add stops and a departure time to see when you arrive.