Cron Schedule Visualiser
A cron expression like 30 2 * * * tells you what a job does, but never
when you will actually see it run. This visualiser closes that gap: paste a single
cron expression — or an entire crontab, comments and all — and get a month calendar
with every run time marked on the day it happens, the next executions listed in order from this
moment, a plain-English reading of each schedule (including the notorious day-of-month /
day-of-week OR rule), and an ICS file you can drop into any calendar app. It understands the
standard five-field format, six-field schedules with seconds, ranges, steps, lists and the
@daily family of macros. Everything is computed in this tab: your crontab never
leaves the page and nothing is executed.
100% private. The schedule parsing, the calendar and every export are generated with JavaScript in this browser tab. Your crontab lines — which often name internal paths, hosts and credentials — never leave the page; there is no server-side calculation and nothing to send.
1. Schedule(s)
One expression, or a whole crontab: each non-comment line becomes one job, and the command after the five fields is used as its label. A preset can fill the box for you.
2. Display options
What each schedule means
Upcoming runs
| When | Job | Schedule |
|---|
Checks on these schedules
How to use it
Put your schedule in the box in panel 1. Two shapes work: a bare expression such as
0 9 * * 1-5, which is labelled with whatever you typed in the job name field,
or a whole crontab pasted straight from crontab -l — comment lines are
skipped, and the command that follows the five fields becomes each job’s label, so a
ten-line crontab comes out as ten colour-coded jobs on one calendar. Pick a preset to see a
typical schedule instantly, then edit it. The page re-analyses live as you type, so you can
watch the calendar change while you fix an expression.
Panel 2 controls how the result is shown: 12- or 24-hour times, how many upcoming runs to list (the table always starts from now, not from midnight), and how many events the ICS export should contain. The calendar itself moves with the Prev / Today / Next buttons; each day cell shows the exact run times as coloured chips, one colour per job, and days with too many runs to chip (an every-minute job) collapse to a ×N count instead of a wall of numbers. When the picture looks right, copy the run list as text or download the ICS file and open it in Google Calendar, Outlook, Apple Calendar or Thunderbird.
Worked example: the sample crontab
The page loads with a three-job crontab that is typical of a small server:
# Daily database backup
30 2 * * * /usr/local/bin/backup.sh db >> /var/log/backup.log 2>&1
# Weekday morning report
0 9 * * 1-5 /opt/reports/morning_report.py
# Monthly disk cleanup on the 1st
0 3 1 * * /usr/local/bin/cleanup.sh --older-than 30d
The visualiser reads it as three jobs:
- Daily backup at 02:30. The calendar shows a blue chip on every single day, and the plain-English line says “at 02:30, every day”. The next-runs table fills with 02:30 entries, one per day, starting from the next 02:30 after you load the page.
- Weekday report at 09:00. Chips appear on Monday through Friday only — the weekend cells stay empty, which is the fastest way to confirm that
1-5means Monday-to-Friday (0 and 7 are Sunday). - Monthly cleanup at 03:00 on the 1st. Exactly one chip per month, always on day 1. Jump a few months forward with the Next button and it follows the calendar, including February’s shorter length.
The “typical runs / day” stat adds the three jobs up: seven backup runs, five report runs and one cleanup run per week comes out to roughly 1.9 runs a day on average. Hit Download ICS and the file contains the next 30 executions of each job — open it in any calendar app and you can see the three jobs interleaved on a real timeline, which is exactly what makes a schedule feel concrete instead of abstract.
How it works
Each line is split into its fields and every field is expanded into the set of values it
allows: minutes 0–59, hours 0–23, days of month 1–31, months 1–12
(or JAN–DEC) and days of week 0–6 (or SUN–SAT, with 7 accepted as Sunday).
Ranges like 9-17, steps like */15 or 1-23/2, lists
like 1,15 and combinations of all three are expanded the same way cron itself
does. The @daily, @hourly, @weekly,
@monthly, @yearly and @midnight macros are translated
to their field equivalents first; @reboot has no fixed time, so it is reported
in the findings instead of being placed on the calendar.
To find when a job runs, the engine walks forward day by day from today (up to four years, which covers every leap-year pattern) and tests each date against the month field and the day rules. The day rule follows cron’s actual semantics: if only the day-of-month or only the day-of-week field is restricted, that one decides; if both are restricted, a day matches when either of them does — an OR, not an AND, which is the single most misread rule in cron. For every matching day the engine emits the exact hour-and-minute combinations from the hour and minute sets. The calendar month is rendered from the same computation, so what you see on the grid and what appears in the run list are guaranteed to agree. The ICS export writes one explicit VEVENT per upcoming execution with a one-minute duration, which every calendar client renders correctly without needing to understand cron at all.
Common mistakes this visualiser catches
- The day-of-month / day-of-week OR trap.
0 9 1 * 1does not mean “Monday the 1st” — it means “every Monday and every first of the month”. When both fields are restricted the findings panel says so in plain English, and the calendar shows the doubled-up days so you can see the surprise before it ships to production. - Sunday as 0 or 7. Both work in cron, but mixing them (
0-5versus1-6) is a classic off-by-one when someone “fixes” a schedule. The visualiser accepts both and renders the actual days, so a wrong assumption shows up as empty or extra cells immediately. - Six-field schedules that are not Vixie cron. A leading seconds field is used by some schedulers (notably Quartz-style ones) but not by standard cron on Ubuntu. The visualiser parses it, tells you it detected a seconds field, and places runs at minute granularity — so you can see the shape of the schedule without pretending your crontab will run on a stock system.
- Schedules that never fire.
0 0 30 2 *(02:30 on February 30th) parses fine and then matches nothing. After scanning four years the engine reports “never matches” instead of silently showing an empty calendar you might read as “runs rarely”. - Timezone confusion. Cron runs in the machine’s local time, so a schedule that means 09:00 in Brisbane is a different wall-clock time on a server in New York. This tool shows times in your browser’s timezone for planning; if the job actually lives on a machine in another zone, use the Cron Job Timezone Converter to translate the expression before you paste it.
- Forgetting that cron is not a shell. In a crontab line a literal
%means newline (everything after it becomes the command’s stdin), and a missing trailing newline at the end of the file means the last job is silently ignored. Neither is visible in an expression, so both are documented here: quote the percent as\%, and always end your crontab with a blank line.
Related tools
Suggested
Luke Keam | techgeek.biz