Cron Expression Generator

Build a schedule with the controls below, or paste any cron expression into the box to see what it means and when it will run next.

Minute Hour Day (month) Month Day (week)

Next 10 runs

Calculated using your browser's local time. Cron expressions don't carry a time zone themselves — they run in whatever time zone the scheduler is set to.

    What is a cron expression?

    A cron expression is a short line of text used to tell a scheduler ("cron", built into Linux and macOS, and used by many hosting and automation tools) when to run a task. It has five fields, separated by spaces, each describing one part of the schedule.

    Field meanings

    Field Allowed values Notes
    Minute 0–59
    Hour 0–23 24-hour clock, 0 = midnight
    Day of month 1–31
    Month 1–12 or JAN–DEC Names are case-insensitive
    Day of week 0–6 or SUN–SAT Both 0 and 7 mean Sunday

    Special characters

    Character Meaning Example
    * Every value in the field * in Hour = every hour
    , A list of specific values 1,15 = the 1st and the 15th
    - An inclusive range of values 1-5 = 1, 2, 3, 4, 5
    / A step, used after a value or range */15 = every 15 units

    Common examples

    Expression Meaning

    Quick tips

    • Sunday can be written as either 0 or 7 in the day-of-week field.
    • If both day-of-month and day-of-week are restricted (not *), the job runs when either one matches — not only when both do.
    • Ranges are inclusive: 1-5 means 1, 2, 3, 4 and 5.
    • Steps can combine with ranges: 1-10/2 means 1, 3, 5, 7, 9.
    • The order of a comma list doesn't matter: 5,1,3 is the same as 1,3,5.
    • Cron doesn't support "wrap-around" ranges like 22-2 — write them as two values or a list instead.