Cron expression explainer

Type a crontab schedule to read it in plain English and see when it will run next, in your local time.

Next 5 runs

    Cron syntax

    ┌───────── minute (0–59)
    │ ┌─────── hour (0–23)
    │ │ ┌───── day of month (1–31)
    │ │ │ ┌─── month (1–12 or JAN–DEC)
    │ │ │ │ ┌─ day of week (0–6, SUN–SAT; 7 = Sunday)
    │ │ │ │ │
    * * * * *  command
    SymbolMeaningExample
    *Every value* * * * * every minute
    ,List0 8,12,18 * * *
    -Range0 9-17 * * *
    /Step*/15 * * * *
    @dailyMacrosame as 0 0 * * *

    Common schedules

    ExpressionRuns
    */5 * * * *Every 5 minutes
    0 * * * *Every hour on the hour
    0 9 * * 1-5Weekdays at 09:00
    30 2 * * *Daily at 02:30
    0 0 1 * *First day of every month
    0 0 * * 0Sundays at midnight
    15 14 1 * *14:15 on the 1st
    0 22 * * 1-5Weeknights at 22:00
    0 0 1 1 *Once a year, 1 January
    0 */6 * * *Every 6 hours

    The day-of-month / day-of-week rule

    If both day fields are restricted (neither is *), standard cron runs when either matches. 0 0 13 * 5 runs on every 13th and on every Friday, not only on Friday the 13th. This explainer follows that rule.

    Times are computed in your browser's time zone. Servers usually run cron in their own zone (often UTC). Quartz and some cloud schedulers use a 6- or 7-field format with seconds, which this tool does not parse.

    Frequently asked questions

    How do I run a cron job every 5 minutes?
    Use */5 * * * *.
    How do I run a job on weekdays only?
    Put 1-5 in the fifth field, e.g. 0 9 * * 1-5 for 09:00 Monday to Friday.
    Is Sunday 0 or 7?
    Both work in most cron implementations. 0 through 6 is Sunday through Saturday, and 7 is accepted as Sunday too.