Toolshub
calculate · runs in your browser

Work out when a cron expression will actually run next

Turns a five-field cron expression into the next run times in your own timezone, applying the classic day-of-month OR day-of-week rule.

$24 buyout · 10 free runs a day

No file needed. Pick the timezone offset your scheduler actually runs in.

Runs in this tab. Nothing is uploaded.

Result

Free tier: no file needed, 1 inputs per run, 10 runs per day. A buyout for this tool is $24 once. Compare.

Licence: free tier.

What this page does differently

The hard part of cron is not writing the expression, it is knowing what it means at 11pm before you ship it. This page expands the fields, applies the classic semantics — including the one most people miss, where a restricted day of month and a restricted day of week match either way rather than both ways — and lists the next run times in the timezone you name rather than the timezone of some server.

expands five cron fields with the day-of-month OR day-of-week rule and prints upcoming run times in an explicitly chosen timezone offset

Sample input and output

Run Case Size Notes
Input One cron expression 19 B 0 9 * * 1-5 — weekday mornings, with no timezone stated anywhere
Output Ten upcoming runs as text 470 B dates and weekday names resolved against a UTC+8 offset, about 47 bytes per line

These are the demo numbers this page was built against, not a guarantee for every file.

What you can check yourself

The claim What the test showed
Each listed run lands on the minute the expression asks for. For "*/15 9-17 * * 1-5" at UTC+08:00 the list contains only :00, :15, :30 and :45 between 09:00 and 17:45, on weekdays only.
The timezone offset is applied rather than ignored. The output labels every timestamp UTC+08:00 and shifts the hours accordingly, so 09:00 is the local start of the window, not 01:00.

Questions

Why does a schedule matching both the 13th and Fridays fire on days that only satisfy one?

Because that is the classic cron behaviour: when both day fields are restricted, either may match. Many people expect an AND, which is why "the job ran on a day it should not have" is such a common incident. This page implements the OR, and says so.

Which timezone are the results in?

Whichever offset you enter, starting from the browser local time as the default. Servers running cron usually use their own local time, which is the single most common source of a job that never fires when expected.

What syntax is supported?

Stars, numbers, lists, ranges and steps, in the standard five fields: minute, hour, day of month, month, day of week. Both 0 and 7 mean Sunday.

What about seconds, or @daily style shortcuts?

Not supported, deliberately. Six-field cron with seconds exists in some schedulers and means something different from five-field cron; guessing which one you meant is worse than refusing.

What happens if the expression can never fire?

The page says so. February 31st never arrives, and a tool that silently returns nothing would leave you debugging a job that was never schedulable.

Price

This tool is $24 once, for as long as the tool exists. One payment, not a subscription. The licence is stored in this browser; the transaction id restores it elsewhere.

Free: 10 runs a day. Buyout: no daily count. Nothing else changes — this page takes one input at a time.

Related