MORTIMERDEV LABS / CRON FREE · BETA

What does this cron mean?
And when will it really run?

Paste a cron expression to get it in plain English, the next 10 runs in your time zone and UTC, and warnings for the traps: day of month OR day of week, uneven steps, daylight saving and each platform’s rules. Or describe a schedule and get the expression for GitHub Actions, Vercel, Kubernetes, AWS or Quartz.

Runs in your browser. Nothing is stored or uploaded.
Take the 10-question quiz

Explain an expression

Try:

Build a schedule

 

TEST YOURSELF

How well do you know cron?

Ten questions, picked at random, with an explanation and a link to the reference after each one. Three are “when does this next run?” questions worked out live by the same engine as the explainer.

CRON REFERENCE

Cron syntax and platform rules, in plain English.

Syntax

The five fieldsminute hour day-of-month month day-of-week. A job runs when the clock matches every field.

Minute 0–59, hour 0–23, day of month 1–31, month 1–12 (or JAN–DEC), day of week 0–7 (0 and 7 are Sunday, or SUN–SAT). Quartz adds seconds at the front and an optional year at the end; AWS adds a year at the end.

Lists, ranges and steps1,15 is a list, 9-17 a range, */15 a step: every 15th value from the start of the range.

They combine: 0-30/10 means 0, 10, 20 and 30. A step on * counts from the field’s minimum (0 for minutes, 1 for days), so */2 in day of month means the 1st, 3rd, 5th… and resets each month.

@daily and friends@yearly, @monthly, @weekly, @daily (@midnight) and @hourly are shorthands. @reboot runs at start-up.

Supported by most Linux crons and Kubernetes. GitHub Actions, Vercel, AWS and Quartz don’t accept them; write the five fields instead (@daily is 0 0 * * *).

Month and day namesJAN–DEC and SUN–SAT work in most crons and are case-insensitive. Vercel only accepts numbers.

Names are clearer and avoid the day-numbering difference between flavours. Ranges of names work: MON-FRI.

? (no specific value)Quartz and AWS: put ? in day of month or day of week, whichever you’re not using.

Exactly one of the two must be ?. 0 9 ? * MON-FRI * (AWS) and 0 0 9 ? * MON-FRI (Quartz) mean weekdays at 09:00.

L, W and #Quartz and AWS: L is the last day, 15W the weekday nearest the 15th, 6#3 the third Friday (Quartz) and 6L the last Friday.

LW is the last weekday of the month. W never moves into another month: 1W on a Saturday runs on Monday the 3rd. Quartz also supports L-3 (three days before the last day). Standard cron has none of these; a common workaround is running on days 28–31 and checking in the job whether tomorrow is the 1st.

Common mistakes

Steps reset every cycle*/7 in minutes runs at :00, :07 … :56, then :00 again, only 4 minutes later.

Cron doesn’t keep a timer; it matches the clock. Steps that don’t divide the range evenly (7 or 25 minutes, 5 hours) give an uneven last gap. For an exact interval, use a scheduler that supports rate or interval schedules (AWS rate(), systemd timers).

Day of month OR day of weekIf both day fields are set, standard cron runs when EITHER matches. 0 0 13 * 5 runs every Friday and every 13th.

This is the Vixie cron rule, also used by GitHub Actions and Kubernetes. If one of the two day fields starts with *, the fields are combined with AND instead, so 0 0 */2 * 5 means odd-numbered days that are Fridays. Quartz and AWS refuse to set both and make you put ? in one; Vercel makes you use * in one.

Quartz and AWS count days from 1In Quartz and AWS, 1 is Sunday and 7 is Saturday, so 1-5 means Sunday to Thursday.

Standard cron uses 0 (or 7) for Sunday and 1 for Monday. Use MON-FRI in Quartz and AWS and the problem goes away.

Daylight savingIn zones with daylight saving, one night a year an hour doesn’t exist and one night an hour happens twice.

In Europe/London, 01:00–01:59 is skipped on the last Sunday in March and repeated on the last Sunday in October. Schedulers differ: some run skipped jobs straight after the jump, some skip them; some run repeated times once, some twice. Avoid scheduling important jobs between 01:00 and 03:00 local time, or schedule in UTC.

Schedule in UTC or local time?UTC never jumps, but a UTC schedule moves by an hour on the local clock twice a year.

Use UTC for machine work (backups, syncs) where the local time doesn’t matter. Use a local time zone, where the platform supports it, for anything people expect at a fixed local time, like a 9:00 report.

Platforms

GitHub ActionsFive fields, UTC by default; add timezone: next to cron for local time. Shortest interval 5 minutes.

Runs on the default branch’s latest commit. Scheduled runs can be delayed at busy times, especially the top of each hour, and some may be dropped. In public repos, schedules are disabled after 60 days without repository activity. In a spring-forward gap, runs move to the next valid time.

Vercel Cron JobsFive fields, always UTC, numbers only (no MON or JAN), and day of month and day of week can’t both be set.

Configured in vercel.json under crons. Cron Jobs are being replaced by Vercel Schedules, which support time zones; until you move, convert local times to UTC and remember the shift when the clocks change.

Kubernetes CronJobFive fields plus @daily-style macros. Set spec.timeZone for local time (stable since 1.27).

Without spec.timeZone the controller manager’s time zone is used, which is UTC on most managed clusters. CRON_TZ= or TZ= inside the schedule is rejected. A CronJob’s startingDeadlineSeconds and concurrencyPolicy decide what happens to missed or overlapping runs.

AWS EventBridgecron(minutes hours day-of-month month day-of-week year): six fields, ? in one day field, days numbered 1–7 from Sunday.

EventBridge scheduled rules run in UTC. EventBridge Scheduler takes a ScheduleExpressionTimezone and handles daylight saving. Nothing can run more often than once a minute; for intervals use rate(5 minutes).

QuartzSeconds first: seconds minutes hours day-of-month month day-of-week [year]. ? in one day field.

Used by Java schedulers including Spring’s @Scheduled (Spring has six fields, without the year, and numbers Sunday as 0 or 7). Triggers can set their own time zone; otherwise the JVM default is used.

Real time zones, real clock changes.

Run times use your browser’s time zone data, so skipped and repeated hours are worked out for the actual dates. Where schedulers disagree about those hours, the warnings say so.

Nothing leaves this page.

Everything is worked out in your browser and nothing is saved. We count anonymous page views and button use, never what you enter.