Cron Next Run Calculator

Enter a cron expression and a start time to find the next scheduled run.

Result

2026-10-26 09:00
0 9 15 * 1
8,580 min

How it is calculated

Enter a five-field cron expression (minute hour day-of-month month day-of-week) and a start time as YYYY-MM-DD HH:MM. Each field takes *, a number, a range a-b, a list a,b,c and a step after * or a range, such as */15 or 1-5/2, as cronie's crontab(5) (the Vixie cron family) documents. Months and weekdays may also be written as the first three letters of their English names in any case, alone, in ranges or in lists (jan-mar, mon,wed,fri). A step after a single number, such as 5/10, is not in crontab(5) and cronie rejects it, so the tool says so and shows the range to write (5-59/10). Ranges are minute 0-59, hour 0-23, day 1-31, month 1-12 and weekday 0-7 where both 0 and 7 mean Sunday. Shortcuts like @daily are not accepted. The time is read as UTC. The tool steps forward from the start (the start minute itself is skipped) and returns the first match. If both day-of-month and weekday are restricted, either one matching is enough. It searches up to eight years ahead, so even a February 29 is found.

Worked example

The expression is 0 9 15 * 1 and the start is 2026-10-20 10:00. This means 09:00 on the 15th of any month, or on any Monday, because both day fields are restricted and either may match. The 15th of October has already passed, and the next 15th is November 15. The first Monday after the start is October 26. The earliest match is therefore 2026-10-26 09:00. That is 5 days and 23 hours later, which the tool reports as 8,580 min.

Try this example →

Common mistakes

  • Reading "0 9 15 * 1" as "09:00 on the 15th only if it is a Monday". When both the day-of-month and the weekday are set, cron runs when either matches, so this job also runs every Monday.
  • Writing 5/10 for “every 10 minutes from minute 5”. crontab(5) puts a step only after * or a range, and cronie rejects the line, so the tool shows 5-59/10 instead of a time. A shortcut such as @daily gives no result.
  • Entering the start date without a time, or with a T between date and time. The format must be exactly 2026-10-20 10:00.
  • Expecting your server's time zone. The tool reads and shows UTC; convert if the scheduler runs on local time.
  • Expecting the time to follow your own clock. It is read and shown as UTC, so a daylight-saving change where the scheduler runs is not modeled.

Sources

About this calculator

A cron expression is a compact 5-field schedule format — minute hour day-of-month month day-of-week — used by the Unix/Linux cron daemon, and by extension by CI/CD tools like GitHub Actions and Jenkins, and by Kubernetes CronJobs. Each field accepts a wildcard (* for “every value”), a single number, a range like 1-5, a step after a wildcard or a range like */15 or 10-30/5, or a comma list like 1,15,30; months and weekdays may be written as names (jan, mon), as cronie's crontab(5) allows. A step after a single number, such as 5/10, is not part of crontab(5), and the calculator shows the range to write instead.

Finding the next run means walking forward from a start time and testing each candidate minute against all five fields at once. One quirk carried over from Vixie cron is that when both day-of-month and day-of-week are restricted (not *), a match on either field is enough — they are combined with OR, not AND. This calculator parses the expression, applies that rule, and reports the next fire time along with the minutes remaining until it runs.

Was this helpful?

You can pick up to 3 reactions.

Comments

  • Be the first to comment.

Popular calculators

All Calculators