How to use this cron expression tool
Type an expression and the page translates it and lists the next five times it will fire, calculated from the current moment in your own timezone. If a field is out of range or malformed, the error names the field and the values it accepts, so you can fix the exact problem rather than guessing. The preset buttons cover the schedules administrators actually use — quarter-hourly jobs, hourly jobs, midnight maintenance, weekday-morning reports — and double as worked examples: tap one, read the translation, then edit the numbers to build the schedule you really need.
Read the five fields left to right as a narrowing funnel: minute (0–59), hour (0–23), day of month (1–31), month (1–12), day of week (0–7, where both 0 and 7 are Sunday). An asterisk means “no restriction”, so a schedule is the intersection of the fields you did restrict — with one famous exception covered in the questions below: when both day fields are restricted, cron fires when either matches. That single rule explains most “my job ran on the wrong day” incidents.
Example: the Monday report
The expression the tool starts with:
translates to “Runs at 09:00, on Monday.” Concretely, from Thursday 3 December 2026 the next five runs are Monday 7, 14, 21 and 28 December 2026 and Monday 4 January 2027 — always at 09:00 sharp. Compare its near-twin 30 8 * * 1-5: the range in the weekday field spreads it across the working week — “Runs at 08:30, on Monday through Friday” — which is the difference between a weekly report and a daily stand-up reminder, expressed in four characters.
Writing schedules that behave
Three habits prevent the classic cron accidents. First, stagger heavy jobs: when every service on a server uses 0 * * * *, the machine is crushed on the hour and idle at minute 20 — offsets like 7, 22, 37 exist precisely to spread load, and steps like */15 are the tidy way to express them. Second, mind February: a day-of-month of 29, 30 or 31 silently skips short months, which is correct behaviour that looks exactly like a failure in March. Third, check the timezone of the machine, not your laptop: cron follows the server's clock, and a “9 am” job on a UTC server fires at a very different local time for your team. The next-runs list above uses your device's timezone precisely so you can feel that difference before a schedule goes live.
From expression to a real crontab line
The expression is only the first half of a crontab entry. A complete line adds the command to run — and, in the system-wide files under /etc, the user to run it as:
Three details in that line save real pain. The full path to the command matters because cron runs with a minimal environment — no helpful PATH, no shell profile, none of the aliases you enjoy interactively; scripts that work from your terminal fail silently under cron until every path is absolute. The redirection to a log file matters because cron's only other reporting channel is local mail that nobody reads; the >> and 2>&1 send both output and errors somewhere you can inspect after the fact. And testing with the next-runs list here before saving matters because a crontab typo does not fail loudly — it simply never runs, or runs at 9 pm instead of 9 am, discovered weeks later. Paste the expression above into this tool one final time, read the five dates, and only then save the file.
Frequently asked questions
What is a cron expression?
A cron expression is five fields — minute, hour, day of month, month, day of week — that together describe a repeating schedule for the cron scheduler on Unix-like systems. '0 9 * * 1' means 09:00 every Monday; servers use lines like this to run backups, reports and cleanup jobs automatically.
What do the symbols mean?
An asterisk (*) means 'every possible value'. A comma builds a list (1,15 = the 1st and 15th). A hyphen builds a range (1-5 = Monday to Friday in the weekday field). A slash sets a step: */15 in the minute field means every 15 minutes, and 9-17/2 means every 2 hours from 9 to 17.
Is Sunday 0 or 7?
Both. Standard cron accepts 0 and 7 for Sunday in the day-of-week field; this tool treats them identically. Monday is 1 and Saturday is 6. Some newer schedulers also accept names like MON or SUN, but numbers work everywhere.
What happens when both the day-of-month and day-of-week fields are set?
Standard cron runs the job when EITHER day rule matches — so '0 0 1 * 1' runs on the 1st of every month AND on every Monday, not only when both coincide. This surprises almost everyone once; the tool's explanation calls it out whenever both fields are restricted.
In which timezone are the next run times shown?
In your device's local timezone, because the calculation runs in your browser. A server's cron daemon usually follows the server's own timezone (often UTC), so compare carefully when you paste an expression onto a machine in another region.
Why does my expression have no next runs?
Some combinations never occur: February never has a 31st (or a 30th), and April never has a 31st either. The tool searches five years ahead and reports honestly when a schedule cannot happen, instead of inventing dates.
How do I run something every 15 minutes?
Use */15 in the minute field and asterisks elsewhere: */15 * * * *. The step starts at 0, so the job fires at minutes 0, 15, 30 and 45 of every hour. The preset buttons above include this and other common schedules.
Does this tool support seconds or yearly fields?
No — it covers the classic five-field format used by standard cron, Linux crontabs and most CI schedulers. Some systems (Quartz, some cloud schedulers) add a seconds field at the front or a year field at the end; those expressions need their own tools.
What are @daily, @weekly and similar shortcuts?
Many cron implementations accept nickname shortcuts in place of an expression: @hourly means 0 * * * *, @daily and @midnight mean 0 0 * * *, @weekly means 0 0 * * 0, @monthly means 0 0 1 * *, and @yearly means 0 0 1 1 *. The presets above give you the expanded forms.