Cron & systemd OnCalendar Next-Run Debugger
Translate 5-field POSIX cron expressions, @daily macros, and Linux systemd OnCalendar schedules into plain English and preview the next 10 UTC trigger timestamps.
Input & Options
Local JS Execution
Parsed Output & Diagnostics
Ready
Status
...
Generated Output
Cron vs. systemd OnCalendar Syntax
| Schedule Goal | POSIX Cron | systemd OnCalendar |
|---|---|---|
| Every 15 minutes | */15 * * * * | *-*-* *:00/15:00 |
| Daily at 03:30 | 30 3 * * * | *-*-* 03:30:00 |
| Weekdays 09:00 | 0 9 * * 1-5 | Mon..Fri *-*-* 09:00:00 |
| Hourly top of hour | @hourly (0 * * * *) | hourly (*-*-* *:00:00) |
Parser Methodology & Privacy Guarantees
Expands ranges, step intervals, named months/weekdays, and systemd shorthand aliases into valid value sets, then steps forward across calendar time in UTC to compute the next 10 matching execution points.
- Normalizes @daily/@weekly/@hourly cron aliases and systemd daily/weekly/hourly presets.
- Follows standard POSIX cron OR semantics when both Day-of-Month and Day-of-Week are restricted.
- Searches up to 365 days ahead in UTC and measures cadence delta between consecutive firings.
Scope & limitations: Evaluates schedules in UTC rather than local DST zones; special Quartz non-standard tokens (L, W, ?) are outside POSIX 5-field cron.
Frequently Asked Questions
Why does 0 0 1 * 1 run on BOTH the 1st of the month AND Mondays in standard cron?
In Vixie/POSIX cron, if both day-of-month and day-of-week are non-wildcard (*), the job triggers whenever EITHER matches (logical OR), not AND.
When should I prefer systemd timers over crontab?
systemd timers integrate cleanly with journald logs, Persistent=true catch-up after reboots, RandomizedDelaySec jitter, and memory/CPU isolation on Linux servers.
Does cron allow step values like */7?
Yes, */7 matches values divisible by 7 starting at the field minimum (0, 7, 14, ...), which means minute intervals like */7 produce uneven gaps across hour rollovers.