Epoch Calculator

Cron Expression Tester

Paste any cron expression. See the next 10 execution times in your timezone, a plain-English summary, and a per-field breakdown. Supports five-field (Unix) and six-field (AWS / Quartz) variants.

Cron expression
✓ Every 15 minutes, between 07:00 AM and 07:59 PM, Monday through Friday
Field breakdown
Minute
*/15
every 15
Hour
7-19
7–19
Day
*
Any day
Month
*
Any month
Day of week
1-5
Mon–Fri
Next 10 runs
Optional: list runs from a date, read in UTC.

Calculating the next runs…

Common patterns
Syntax cheat sheet
Fields (5): minute · hour · day-of-month · month · day-of-week
Operators: * any · N exact · N-M range · N,M,O list · */N step
Ranges: minute 0–59 · hour 0–23 · day 1–31 · month 1–12 (or Jan–Dec) · day-of-week 0–6 (Sun=0)
Six-field variant (AWS / Quartz) prepends a seconds field with the same operators.

The five fields and their ranges

A cron expression reads left to right: minute (0 to 59), hour (0 to 23), day of month (1 to 31), month (1 to 12 or JAN to DEC), and day of week (0 to 7 or SUN to SAT, with 0 and 7 both meaning Sunday). Each field accepts an asterisk for every value, a single number, a comma list such as 1,15, a range such as 9-17, or a step such as */10. Fields combine with AND, so 0 9 1 * * means 09:00 on the first of every month. The one exception is described below.

Day of month and day of week combine with OR

When both the day-of-month and day-of-week fields are restricted, classic cron fires if either matches, not both. 0 9 13 * 5 runs at 09:00 on the 13th of every month and on every Friday, not only on Friday the 13th. If you need the intersection, restrict one field in the expression and check the other inside the job. Quartz-style schedulers avoid the ambiguity by requiring a question mark in one of the two fields, which is why that character appears in AWS and Spring examples.

Time zones and cron

Cron has no idea what zone you meant; it fires according to the clock of the machine or service that runs it. A crontab on a UTC server runs 0 9 * * * at 09:00 UTC, which is 05:00 in New York in summer. Many schedulers let you set a zone per job: a CRON_TZ line in crontab, a timezone option in GitHub Actions and Kubernetes CronJobs, a ScheduleExpressionTimezone in EventBridge. Pick the zone in this tester to preview exactly what a given scheduler will do, including the skipped and repeated hours around daylight-saving changes.

Shortcuts and vendor extensions

Most crontabs accept @hourly, @daily, @weekly, @monthly, @yearly, and @reboot as stand-ins for the common expressions. Quartz, Spring, and AWS add a seconds field at the front, L for the last day or last weekday, W for the nearest weekday, and # for the nth weekday of the month, so 0 0 9 ? * 2#1 is 09:00 on the first Monday. These are not portable to plain Unix cron, so when an expression moves between systems, paste it here and confirm the next runs still look right.

Common schedules

Every minute is * * * * *. Every 15 minutes is */15 * * * *. Hourly on the hour is 0 * * * *. Daily at midnight UTC is 0 0 * * *. Weekdays at 09:00 is 0 9 * * 1-5. Every Sunday at midnight is 0 0 * * 0. First of the month is 0 0 1 * *. Quarterly is 0 0 1 1,4,7,10 *. Twice a day at 06:00 and 18:00 is 0 6,18 * * *. Every two hours during working days is 0 */2 * * 1-5. Click any preset above to load it and see the plain-English reading and next ten runs.

Frequently asked questions

What is a cron expression?

A cron expression is a five-field string that describes a recurring schedule: minute, hour, day of month, month, and day of week. The asterisk means "every", a number is an exact match, comma-separated lists mean "any of these", a hyphen is a range, and a slash is a step. For example "*/15 7-19 * * 1-5" means every 15 minutes between 7am and 7pm, Monday through Friday.

How do I validate a cron expression?

Paste your expression into the input above. If it is valid you will see the plain-English summary, a per-field breakdown, and the next 10 execution times in the timezone you select. If the expression is malformed, the tool tells you which field failed and what the allowed range is. For example, "Constraint error, got value 99 expected range 0-59".

What is the difference between five-field and six-field cron?

Five-field cron is the classic Unix variant: minute, hour, day-of-month, month, day-of-week. Six-field cron adds a seconds field at the start; it is used by some schedulers (notably AWS EventBridge and Quartz) when sub-minute precision is required. This tool accepts both; six-field expressions are detected automatically by token count.

How do I run a cron job every 15 minutes during business hours?

Use "*/15 7-19 * * 1-5". This evaluates to every 15 minutes, between 7am and 7pm UTC (or whichever timezone you select), Monday through Friday. The first field "*/15" is a step expression that triggers at 0, 15, 30, and 45 minutes past the hour; "7-19" restricts the hour to the inclusive range 7 through 19; "1-5" restricts the day of week to Monday through Friday.

Does this support AWS EventBridge or Quartz expressions?

Yes. AWS and Quartz add a six-field variant with seconds at the start, plus extensions like "?" for "any value" in day-of-month or day-of-week, and "L" for the last day of the month. These are accepted by the parser, though some edge-case combinations (mixed "?" usage) follow the original Quartz semantics, not the AWS overlay.

Why are my next-run times off by an hour during the spring or fall?

Daylight saving transitions can produce surprising results in cron schedules. A run scheduled for 02:30 in the United States during the spring-forward transition will be skipped that morning because 02:00–03:00 does not exist; in the fall-back transition it will run twice if your scheduler does not deduplicate. Always pick a timezone explicitly using the dropdown above and verify the next runs match what you expect across DST boundaries.

What does */5 mean in cron?

Every fifth value, starting from the field minimum. In the minute field, */5 fires at :00, :05, :10 and so on through :55. The slash means step; the asterisk before it means start at the beginning of the range. 10-50/5 would step through 10, 15, 20 up to 50 only.

Is Sunday 0 or 7 in the day-of-week field?

Both. Standard cron accepts 0 and 7 for Sunday, with Monday as 1 through Saturday as 6. Most implementations also accept three-letter names such as SUN and MON. Quartz-style schedulers number differently, with Sunday as 1, so check which flavour your scheduler uses before copying an expression between systems.

How do I run a cron job at a specific time every day?

Put the minute and hour in the first two fields and asterisks in the rest. 30 14 * * * runs at 14:30 every day. Cron uses a 24-hour clock, so 2:30 in the afternoon is hour 14. The time is evaluated in the scheduler's time zone unless you set one explicitly.

How do I schedule a job on the last day of the month?

Standard five-field cron has no last-day token. The usual workaround is to run on the 28th through 31st and have the job check whether tomorrow is the first. Quartz and AWS EventBridge support L in the day-of-month field, and this tester accepts that extension so you can preview it.