Cron Expression Parser - Read It in Plain English

2on /
/ Dev Tools / Cron Parser

Cron expression parser

Five fields: minute, hour, day of month, month, day of week.

Field by field

Field Written Means

Next runs

# Runs at

Times are shown in your device time zone. The server that runs the job may be in another one.

What this tool does

Cron syntax is compact and easy to misread, and the cost of a misreading is a job that runs at the wrong time for months before anyone notices. This page translates the line back into a sentence and, more usefully, shows the actual dates it will fire.

How to use it

  1. 1 Paste your cron line, or start from one of the presets.
  2. 2 Read the sentence and check each field one by one.
  3. 3 Confirm it against the list of next runs - that is where mistakes show.

The five fields

Always in this order, always separated by spaces. Each takes a number, a list like 1,15, a range like 9-17, a step like */5, or a star meaning every value.

# Field Allowed Note
1Minute0-59
2Hour0-23
3Day of month1-31See the day rule below
4Month1-12JAN-DEC also accepted
5Day of week0-70 and 7 are both Sunday; SUN-SAT accepted

The day-of-month trap

When both the day-of-month and day-of-week fields are set to something other than a star, cron runs the job if either matches, not both. So "0 0 1 * MON" fires on the 1st of every month and on every Monday. This surprises almost everyone the first time, and the parser flags it when it applies.

Steps are not "every N from now"

*/20 in the minute field means minutes 0, 20 and 40 of every hour - not "twenty minutes after the job last ran". If a run takes 25 minutes, the next one starts at minute 40 regardless. Steps count from the start of the range, and 5-20/5 counts from 5.

Time zones and the hours that go missing

Cron follows the server clock, not yours, so a job set for 02:30 may fire at a different local hour than you expect. Worse, in regions with daylight saving that hour does not exist on one night a year and happens twice on another. For anything that must not be skipped or repeated, schedule it away from 01:00-03:00.

Cron expressions - frequently asked questions

Sunday. And 7 is also Sunday, which is why the range reads 0-7 instead of 0-6. Names work too: SUN through SAT, and MON-FRI is the readable way to write weekdays.
New
HTML Formatter Indent messy HTML so you can read it, or strip it down so it ships smaller. Works on fragments too, and never rewrites your markup into something else.
Popular Today
Regex Tester Write a regular expression and see the matches, the capture groups and the replacement instantly. A runaway pattern is stopped instead of freezing the tab.

Related Dev Tools

MD5 Hash Generator Free MD5 hash generator: turn any text or file into an MD5 checksum in your browser - useful for integrity checks and quick fingerprinting.
Base64 Encoder & Decoder Free Base64 encoder and decoder: convert text or files to Base64 and back, entirely in your browser - nothing is uploaded to a server.
Lorem Ipsum Generator Free Lorem Ipsum generator: create placeholder text by paragraph, sentence or word count, with optional HTML tags for your design mockups.
JWT Decoder Free JWT decoder: paste a token to read its header, payload and signature in a readable form - decoding happens in your browser, nothing is sent.
URL Encoder & Decoder Free URL encoder and decoder: convert links and query parameters to percent-encoding and back, with full-URL and component modes, in your browser.

Other Tools You May Like

Word to PDF Convert Word to PDF for free: upload a DOC, DOCX, ODT or RTF file and download a properly formatted PDF in seconds - no registration or watermark.
PDF to Word Convert PDF to Word for free: upload a PDF and download an editable DOCX in seconds - no registration, no watermark and nothing to install.
Word Counter Free word counter: paste any text to count words, characters, sentences and paragraphs, and see the estimated reading time - nothing leaves your browser.
Character Counter Free character counter: count characters with and without spaces, plus words and lines, and check SEO limits for titles and meta descriptions.
Keyword Density Checker Free keyword density checker: paste text or a URL to see how often each word and phrase appears, with percentages for one, two and three-word terms.