VulCode

Cron explained

Turn a cron expression into a sentence and see the next runs.

Category
For developers
Price
free

The tool starts in your browser.

Everything is calculated in your browser. Nothing you type is sent to our server.

How to use it in three steps

The tool as a schematic with this page's example. Each step's number stands where you take it: in the fields, at the result or outside the tool.

Cron explained
What you enter
30 8 * * 1-5
  1. Enter a five-field cron expression.

What you get
at 08:30, on Monday, on Tuesday, on Wednesday, on Thursday, on Friday.
  1. Read what it means in a plain sentence.

  2. Check the next run times.

Six cron expressions and their next runs

A sentence can be misread, dates cannot: each row is checked against the next five runs the tool computes. When both day fields are set, cron runs the job when either of them matches.

ExpressionExpectedWhat the tool returnsResult
Expression30 8 * * 1-5the example from the tool's description
ExpectedWeekdays at 8:30
What the tool returnsat 08:30, on Monday, on Tuesday, on Wednesday, on Thursday, on Friday.
As expected
Expression0 3 * * 1a weekly backup
ExpectedMondays at 3:00
What the tool returnsat 03:00, on Monday.
As expected
Expression0 0 1 * *a monthly report
ExpectedThe first of the month at midnight
What the tool returnsat 00:00, on day 1 of the month.
As expected
Expression0 0 13 * 5both day fields at once
ExpectedEvery Friday and every 13th: either field is enough
What the tool returnsTue 13 October at 00:00; Fri 16 October at 00:00; Fri 23 October at 00:00
As expected
Expression60 * * * *a minute outside 0-59
ExpectedAn error with an explanation, no runs
What the tool returnsOne of the fields is out of range or written wrong.
As expected
Expression* * * *four fields instead of five
ExpectedAn error with an explanation, no runs
What the tool returnsCron has five fields: minute, hour, day of month, month, day of week.
As expected

6 of 6 cases as expected

Questions