A cron parser checks a classic five-field cron expression, explains what each field selects, and previews matching run times.
For a beginner, the practical task is to confirm the field order, understand what each field means, and compare the predicted schedule with the scheduler that will execute it. The Cron Parser supports that verification workflow without running a job or contacting a server.
It is important to separate expression validation from deployment. A syntactically valid expression can still behave differently in a scheduler that uses another time zone, different day-field rules, or an extended cron dialect.

The five fields at a glance
Classic numeric crontab syntax contains five space-separated fields. Each field controls a different part of the calendar, so placing one in the wrong position can change the schedule substantially. The conventional ranges used by Cronie-style crontab files are:
| Position | Field | Valid values | What it controls |
|---|---|---|---|
| 1 | Minute | 0 through 59 | The minute within an hour |
| 2 | Hour | 0 through 23 | The hour of the day |
| 3 | Day of month | 1 through 31 | A numbered calendar day |
| 4 | Month | 1 through 12 | The month of the year |
| 5 | Day of week | 0 through 7 | The weekday; both 0 and 7 mean Sunday |
Those ranges describe each field independently. They do not guarantee that every date exists: a day-of-month value of 31, for example, simply has no match in months that do not contain a 31st.
Parse and check a schedule step by step
- Confirm the target format. Check that the scheduler accepts classic numeric five-field cron. A five-field expression placed in a service that expects six or seven fields may be rejected or interpreted differently.
- Enter exactly five fields. Place the minute, hour, day-of-month, month, and day-of-week values in that order. Paste only the expression rather than a complete crontab line, because extra command text is rejected.
- Use supported notation. Numbers, an asterisk wildcard, comma-separated lists, inclusive numeric ranges, and positive steps on a wildcard or range are accepted. For a first check, use */15 * * * *. Its first field selects minutes 0, 15, 30, and 45, while the other four fields remain unrestricted, producing a schedule every 15 minutes.
- Read the normalized expression and field summary. The parser normalizes extra spacing, identifies the selected values in each field, and represents Sunday using 0 even when the input uses 7. Compare every position with the schedule you intended to write.
- Inspect the next five runs. Read the upcoming matching times in the browser's local time and check the corresponding ISO UTC timestamps. The preview helps expose a misplaced field, an unintended day rule, or a mismatch with the scheduler's time zone.
- Confirm against the production scheduler. Check its documentation for time zone, daylight-saving policy, day-field semantics, and supported extensions. The parser does not contact that scheduler or prove how it will interpret the expression.
Normalized output, field summary, and run previews
The normalized expression provides a clean representation of the schedule after extra spaces are removed and supported weekday values are made consistent. The field summary then explains the values selected by each position. Reading both outputs together is more useful than treating validation as a simple yes-or-no result.
The run preview adds a temporal check by calculating the next five matching instants. Local times make the schedule easier to inspect in context, while ISO UTC timestamps provide a stable reference for comparing systems in different locations. The calculation scans forward by whole minutes and evaluates candidate instants in UTC before formatting them for display.
Calendar validity is handled by the underlying JavaScript date logic. Dates that do not exist are skipped, and February schedules account for leap years. This means the preview reflects actual matching instants rather than simply applying the day-of-month and month values as an ordinary calendar filter.
Why the two day fields can surprise you
Traditional cron does not always combine day-of-month and day-of-week with AND logic. If both fields are restricted, a time matches when either field matches. A rule combining a restricted month date with a restricted weekday can therefore run on every matching weekday as well as on the selected month date.
When one day field is a wildcard, the restricted field controls the match. This behavior explains why an expression can look like a simple calendar filter but produce more runs than a beginner expects. Always read both day fields in the summary rather than judging the expression from its first few characters.
Daylight-saving changes create another potential surprise. The parser enumerates UTC instants internally, which makes its calculation deterministic and avoids daylight-saving jumps inside the calculation. That does not change the time zone or daylight-saving behavior configured on the production scheduler.
Accepted syntax and hard limits
The parser deliberately supports the portable numeric core of classic cron rather than every scheduler-specific extension. Its validation rules are strict and focused, which helps catch compact schedules that would otherwise hide a mistake.
| Construct or input | Status | Behavior |
|---|---|---|
| Asterisk wildcard | Accepted | Selects every value allowed in that field |
| Comma-separated list | Accepted | Selects each listed numeric value |
| Inclusive numeric range | Accepted | Selects values from the first number through the last |
| Positive step | Accepted | Works on a wildcard or range and begins at the applicable starting value |
| Anything other than five fields | Rejected | The expression must contain exactly five fields |
| Descending range, zero step, empty list item, or out-of-range value | Rejected | Invalid numeric syntax cannot be evaluated safely |
| Extra command text | Rejected | Enter the expression only, not a complete crontab entry |
Names such as JAN or MON, nicknames such as @daily, seconds, year fields, Quartz question marks, last-day syntax, hashed schedules, random ranges, and vendor-specific macros are not supported. A scheduler that relies on one of those extensions needs a parser designed for that dialect.
The upcoming-run search is also bounded. The parser stops if it cannot find five matches within five years, protecting the browser from an extremely sparse schedule. This limit does not change the expression or establish that a schedule will run indefinitely.
Separate browser time from scheduler time
The local run times use the time zone configured in your browser. They do not reveal or change the time zone of the server, container, CI runner, or cloud scheduler that will execute the job. The UTC timestamps are useful for comparison, but production behavior still depends on the scheduler's own configuration.
Before deployment, verify whether the scheduler uses UTC or a named local time zone, how it handles daylight-saving transitions, and whether its day-field behavior matches traditional cron. Also confirm whether the deployment platform expects five fields or adds seconds, years, or other extensions.
For classic field definitions and behavior, compare your schedule with the Cronie crontab(5) reference and the Oracle Linux cron guide, then use the documentation for the exact scheduler you operate.
A beginner's final pre-deployment check
- Count the fields and confirm their order.
- Read the normalized expression against the original intent.
- Review every selected value in the field summary.
- Check both day fields for traditional OR behavior.
- Compare the local preview with the scheduler's configured time zone.
- Review the UTC timestamps and check the platform's daylight-saving policy.
- Confirm that the target scheduler supports classic five-field syntax.
The Cron Parser does not execute commands, contact a server, or save expressions, so its results should be treated as a verification aid. For a critical backup, billing, notification, or maintenance job, complete that final scheduler-specific review before deploying.