Skip to content

Cron Expression Explainer

Runs in your browser

Paste a cron expression to see what it actually means: a sentence, a field-by-field breakdown, and the next ten times it will run.

At 02:30 on Monday, Tuesday, Wednesday, Thursday and Friday

Read as 5-field (crontab)
Each field of the expression and what it selects
FieldValueMeans
1. minute3030
2. hour202
3. day of month*Every day
4. month*Every
5. day of weekMON-FRIMonday, Tuesday, Wednesday, Thursday and Friday

Next 10 runs

Working out the next runs…

How this one works

A cron expression is a set of fields, each saying which values of that unit a job may run on. Five fields is the classic crontab — minute, hour, day of month, month, day of week. Add a sixth at the front and it is seconds, the form Spring and Quartz use; the dialect is guessed from the shape of what you paste, and the picker overrules it.

The next runs are worked out in the zone you choose, using your browser's own time zone database, so daylight saving is handled properly: a reading that is skipped when clocks go forward, and one that happens twice when they go back, are both flagged in the list.

Two details catch people out. Sunday is 0 in crontab and Spring but 1 in Quartz, so the same digit means different days — the breakdown spells out the day names to make that obvious. And when both day fields are restricted, classic cron runs the job when either matches, not both; Quartz avoids the ambiguity by insisting on ? in one of them.

Questions

Which special characters are supported?
Ranges (1-5), steps (*/15 and 5/10), lists (1,15,30), names (MON, JAN), * and ?, plus L for the last day or last weekday, L-3 for three days before month end, 15W for the weekday nearest the 15th, and 6#3 for the third Friday. The @hourly, @daily, @weekly, @monthly and @yearly macros expand to their expressions.
Why does my job not run on the day I expect?
Check the day fields. In crontab, "0 0 1 * MON" runs on the 1st of the month AND on every Monday, because a restricted day-of-month and day-of-week are combined with OR. Set one of them to * (or ? in Quartz) if you want only the other.
What happens at a daylight-saving change?
It depends on the scheduler, so this page shows you which runs are affected rather than guessing. Vixie cron runs a job whose time was skipped once, shortly after the jump; a job in a repeated hour usually runs only once. Schedules that run every few minutes are unaffected either way.
Is my expression sent anywhere?
No. Parsing and the run times are computed in this tab, with no network requests at all. The URL keeps your expression so you can share a link, and that link only travels if you send it.

Keyboard shortcuts

Global

  • Show this shortcuts dialogShift?
  • Toggle light / dark themeCtrlShiftL
  • Close dialogsEsc

Formatter & Validator

  • Format JSONCtrlEnter
  • Minify JSONCtrlShiftM
  • Copy outputCtrlShiftC
  • Download output as .jsonCtrlShiftS
  • Clear input and outputCtrlShiftX

Tree Viewer

  • Focus the search box/
  • Expand all nodesCtrlShiftE
  • Collapse all nodesCtrlShiftR

Diff

  • Swap document A and BCtrlShiftS

Time & date tools

  • Use the current time (Epoch Converter)CtrlEnter
  • Copy the main resultCtrlShiftC
  • Clear the inputCtrlShiftX

JSON tools

JSON FormatterPretty-print or minify
JSON ValidatorCheck strict JSON validity
JSON Tree ViewerBrowse JSON as a tree
JSON DiffCompare two documents
JSON Path FinderExplore JSONPath expressions
JSON → CSVFlatten JSON into rows
CSV → JSONTurn rows back into objects

JWT tools

JWT DecoderRead header, payload, claims
JWT VerifierCheck an HMAC signature
JWT Expiry Checkeriat, nbf and exp in local time
JWT GeneratorBuild a signed test token
Base64URL EncoderEncode or decode a segment

Time & date tools

Epoch ConverterTimestamps to real dates
Cron Expression ExplainerCron in plain English
Time Zone ConverterOne moment, many cities
Duration CalculatorDate maths and durations

Code formatters

SQL FormatterBeautify or minify SQL
HTML FormatterBeautify or minify HTML
CSS FormatterBeautify or minify CSS
JavaScript FormatterBeautify or minify JS
Markdown to HTMLConvert with a live preview

Pages

JSON toolsFormat, validate, compare and convert JSON.
JWT toolsDecode, verify and generate JSON Web Tokens.
Time & date toolsConvert timestamps, read cron, compare zones.
Code formattersBeautify and minify SQL, HTML, CSS and JavaScript.
HomePopular tools and categories
All categoriesBrowse tools by category
AboutWhat ToolJar is and why
PrivacyWhat is and is not collected

Theme

Switch to light theme
Switch to dark theme