Cron Expression Parser

Explain a cron schedule and preview its next runs.

Parse a cron expression

Five fields, separated by spaces: minute, hour, day of month, month and day of week.

This schedule runs

Every 5 minutes

Field by field
FieldValueMeaning
Minute*/5Every 5th minute: 0, 5, 10, 15, 20, 25, 30, 35, ...
Hour*Every hour
Day of month*Every day of the month
Month*Every month
Day of week*Every day of the week
Next 5 runs (your local time)

    Keep Your Services Online

    From the maker of MakeUUID

    This tool is completely free and ad-free. It's built by the maker of StatusHarbor - uptime monitoring with public status pages for your services. If you're generating IDs for something you're building, StatusHarbor will tell you the moment it goes down.

    How cron expressions work

    Five fields, one gotcha, and the step syntax that trips people up.

    A cron expression is five space-separated fields read left to right. A job runs when the current time matches every field at once.

    • minute - 0 to 59
    • hour - 0 to 23, on a 24 hour clock, so 9 PM is 21
    • day of month - 1 to 31
    • month - 1 to 12, or JAN through DEC
    • day of week - 0 to 6 starting at Sunday, or SUN through SAT. Sunday is also accepted as 7

    Every field takes * for "any value", a single number, a list like 1,15, or a range like 9-17.

    The step syntax */n means "every nth value counting from the start of the field", not "every n from now". So */5 * * * * fires at :00, :05, :10 and so on, aligned to the clock rather than to whenever you installed the job. You can also step a range: 0-30/10 gives :00, :10, :20 and :30.

    The classic gotcha is the pair of day fields. When both day of month and day of week are restricted, cron runs the job if either one matches, not both. That makes 0 0 13 * 5 fire on the 13th of every month and on every Friday, which is far more often than most people expect. When only one of the two is set, that field alone decides.

    Times here are interpreted in your browser's timezone. A real cron daemon uses the server's timezone, so a schedule that looks right on your laptop can fire hours away in production.