Crontab Next Run Calculator
Enter a cron expression and base time to see the upcoming run times.
Result
How it is calculated
The tool reads five fields in the order minute hour day-of-month month day-of-week. Each field accepts *, 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). Day-of-week runs 0 to 6, and 7 is also Sunday. Starting at the base time (read as UTC, or the current UTC time if you leave it empty), it moves forward from the next whole minute and lists each matching minute. When day-of-month and day-of-week are both restricted, a day matches if either one does, as in classic cron; if either field starts with * both must match. Up to 20 times are listed (3 by default), searching up to eight years ahead, so a February 29 is always found. When fewer runs than asked fall in those eight years, the list ends with “Only N runs within 8 years”. Out-of-range values, shortcuts like @daily and cronie's random ~ ranges show no result. A date that never exists, such as February 31, passes the range check, so the tool searches the eight years and says “No run within 8 years”.
Worked example
Cron line 0 3 * * 1-5 means minute 0, hour 3, any day of the month, any month, Monday to Friday. The base time is 2026-10-20 12:00 UTC, a Tuesday, and 03:00 that day has already passed. The next match is Wednesday, so the tool returns 2026-10-21 03:00 UTC, followed by 2026-10-22 and 2026-10-23, then Monday 2026-10-26 (Saturday and Sunday are skipped), and 2026-10-27 as the fifth of the five requested runs.
Common mistakes
- Expecting
0 0 13 * 5to mean "Friday the 13th only". When both day fields are restricted, cron fires on the 13th or on any Friday. Starting from November 14, 2026, the list shows every Friday and also Sunday December 13. - Forgetting that all times are UTC. A job meant for 03:00 in your own time zone will show a different hour here.
- Writing
5/10for “every 10 minutes from minute 5”. crontab(5) puts a step only after*or a range, and cronie rejects the line; write5-59/10. - Typing
@daily. Shortcuts are not read; write0 0 * * *. Names such asMONorjan-marare fine. - Putting six fields (with seconds) into a five-field cron line, which returns no result, or a date that never exists such as
0 0 31 2 *, for which the tool says there is no run within 8 years.
Sources
- crontab(5) — tables for driving cron (cronie): allowed values, ranges, lists, step values after ranges or asterisks, names, and the day-of-month / day-of-week rule — Linux man-pages project (man7.org), page from the cronie project
- crontab - schedule periodic background work (INPUT FILES) — The Open Group Base Specifications Issue 8 (POSIX.1-2024)
About this calculator
A standard Unix crontab expression uses five space-separated fields — minute, hour, day-of-month, month, and day-of-week — each accepting numbers, ranges, lists, wildcards (*), and step values after a wildcard or a range (like */15 for every 15 units), with month and weekday names allowed, as cronie's crontab(5) documents them to define a recurring schedule, such as “0 3 * * 1-5” for 3 AM on weekdays. Working out exactly when such an expression will next fire requires parsing all five fields and simulating time forward, which is easy to get wrong by hand, especially with step values or day-of-week/day-of-month interactions.
Sysadmins, backend developers, and DevOps engineers use this calculation whenever they write or review a cron job — for scheduled backups, log rotation, batch data processing, or automated deployments — to confirm the schedule actually matches what they intended before it runs unattended on a production server.
This calculator parses your 5-field crontab expression against a base UTC time and lists the next several scheduled run times, letting you catch a mistyped cron line before it causes a job to run at 3 AM instead of 3 PM, or every minute instead of every hour.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm's Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments