Skip to content
← Code Tools

Cron Next Fire

Verify any cron expression by previewing its next 10 fire times

Cron Next Fire (Next 10 Fire Times)

A cron expression that looks correct can hide subtle bugs that only show up at runtime, sometimes weeks later. A schedule that should fire daily at 2am quietly fires every minute because of a stray comma; a job that should run on the last day of the month never fires because the expression uses L in a flavor that does not support it; a UTC vs local-time confusion shifts the fire time by hours. This tool sidesteps that whole class of bug: paste the expression, pick the timezone, see the next 10 fire times rendered as ISO timestamps, and confirm the cadence matches intent before you ship the crontab.

Five-Field, Six-Field, and Quartz

Standard POSIX cron uses five space-separated fields: minute, hour, day-of-month, month, day-of-week. Many application schedulers add a sixth seconds field at the front (Spring's @Scheduled and node-cron, for example); system crontabs stay at five. Quartz — the de-facto Java cron flavor — adds a seventh year field at the end and introduces the ? wildcard, which is used in either day-of-month or day-of-week to mean "no specific value" when the other field is constrained. The tool picks the flavour from the field count. Day-of-week numbering follows the flavour: 0 to 7 with Sunday as 0 or 7 for 5 and 6 fields, and 1 to 7 with Sunday as 1 for 7-field Quartz, so 2 means Tuesday in a crontab and Monday in Quartz.

Timezone Handling Done Right

The single most common cron bug is timezone confusion. A crontab line on a UTC-configured server fires in UTC; a crontab line on a local-time-configured server fires in local time; a Quartz schedule respects the trigger's timeZone property if set. This tool exposes the timezone as a first-class input, defaulting to your browser's zone and offering every IANA zone your browser knows (over 400 in current Chrome) so you can preview a schedule for the timezone the production server actually runs in. The table shows each fire time in the selected zone and how far away it is from now.

Special Characters and Step Values

Beyond the basics (numbers, lists, ranges) the parser supports the step operator / for every-N-units expressions, the wildcard *, named day-of-week (MON, TUE) and named month (JAN, FEB), and ? as a synonym for * in the day fields. Note how cron combines the two day fields: when both day-of-month and day-of-week are restricted, a day matches if either one does, so 0 0 1,15 * MON-FRI fires at midnight on the 1st, on the 15th and on every weekday. The tool follows that rule; Quartz avoids the question by requiring ? in one of the two fields. L, W and # (last day, nearest weekday, nth weekday) are not supported and give a clear error rather than a wrong preview.

Use It Before You Deploy

The cron schedule field is usually the smallest piece of a job definition and the easiest place to make an undetected mistake. This tool is meant for the moment between writing the expression and committing the deploy: paste it in, scan the next 10 fire times, and make sure the cadence matches what you intended. Rare schedules work too: the preview searches up to 40 years ahead, so 0 0 29 2 * lists the next ten 29 Februaries. For very-frequent expressions (every-second or every-minute schedules), the first 10 fire times will all be within the next minute or hour and confirm the cadence rather than the calendar placement.

Pair this tool with the rest of the UDT scheduling and devops cluster: our crontab guide for a refresher on syntax, the cron + chmod server guide for permission gotchas, Timestamp Converter for ISO-8601 round-trips, and Regex Tester for any pattern-matching needs in the surrounding job logic.

Frequently Asked Questions

Is my cron expression sent to a server?+
No. Parsing and the next-fire computation run entirely in your browser. The expression and the timezone selection never leave the tab. You can verify in the Network tab that no requests fire while the tool computes the preview.
Which cron flavors are supported?+
Three, chosen by field count: 5-field crontab (minute, hour, day-of-month, month, day-of-week), 6-field with leading seconds, and 7-field Quartz with a trailing year. All support numbers, lists, ranges, steps, *, ?, month and weekday names, and the @yearly, @monthly, @weekly, @daily, @midnight and @hourly shortcuts. L, W and # are not supported.
Why does the preview start at the wrong time?+
Almost always a timezone issue. Check the timezone picker in the form — it defaults to your browser's IANA zone, but a production crontab may run in UTC, in the server's local zone, or (for Quartz triggers) in whatever zone the trigger specifies. Pick the right zone and the preview should match what you expect.
Does it handle the Quartz ? wildcard?+
Yes, and it treats ? as * in any day field (crontab itself does not accept ?). In 7-field Quartz expressions, day-of-week runs 1 to 7 with Sunday as 1, matching Quartz, so 0 0 12 ? * 2 * fires at noon every Monday.
Can I preview a schedule that fires only once a year?+
Yes. The preview always lists the next 10 fire times and searches up to 40 years ahead, so a yearly schedule shows the next ten years and 0 0 29 2 * shows the next ten leap days. There is no separate end-date option.
What about expressions like @daily, @hourly, @yearly?+
The named-shortcut expressions are pre-expanded to their equivalent canonical forms before parsing: @hourly becomes 0 * * * *, @daily becomes 0 0 * * *, and so on. The preview shows the canonical form alongside the original input so you can confirm the expansion is what you expected.
Does it handle daylight-saving-time transitions correctly?+
It follows the convention of Vixie-derived cron (as documented in Debian's cron manual) and the croniter library. A time that does not exist because clocks jump forward fires once, at the moment of the jump (0 2 * * * in New York runs at 03:00 EDT on the March change day). A time that occurs twice because clocks fall back fires once, at the first occurrence; croniter lists both. We checked 12 expressions across New York, London, Tokyo and Lord Howe against croniter; all match except that deliberate fall-back case.
Is the parser the same as the one cron itself uses?+
No, it is a separate JavaScript implementation of cronie's rules, including how it decides the day fields: a field that starts with an asterisk, steps such as */10 included, counts as unrestricted, and the two day fields are ORed only when both are restricted (cronie src/cron.c). Since October 13, 2026 a day-of-month step with * in the weekday field no longer matches every day. croniter, used as our second reference, agrees except when a starred step is combined with a weekday, where it ORs. Confirm unusual schedules on the system that will run them.

Built by Derek Giordano · Part of Ultimate Design Tools

Privacy Policy · Terms of Service