DEVELOPER PRECISION ENGINE

Cron Expression Generator / Parser

Generate or parse cron expressions with human-readable descriptions — a previously-confirmed CRITICAL bug is now fixed: when both the day-of-month and day-of-week fields are restricted (not *), this tool's "Next Runs" preview and description now correctly use OR logic (the job runs if EITHER matches), matching real cron behavior, instead of the previous AND logic that required both to match simultaneously and silently produced wrong run predictions for that combination.

At minute */15

Minute

*/15

Hour

*

Day

*

Month

*

Weekday

*

Next 5 Runs
  • 9/26/2026, 1:45:00 PM
  • 9/26/2026, 2:00:00 PM
  • 9/26/2026, 2:15:00 PM
  • 9/26/2026, 2:30:00 PM
  • 9/26/2026, 2:45:00 PM

How to Use This Tool

1

Switch between Parse and Generate modes.

Switch between Parse and Generate modes.

2

In Parse mode

enter a cron expression to get a human-readable description.

Pro Tip

When both the day-of-month and day-of-week fields are set to something other than *, most cron implementations treat them as an OR condition, not an AND — a job runs if either field matches, not only when both match simultaneously. This exact ambiguity is one of the most common sources of unexpected extra job runs in production, and this tool's own Next Runs preview and description now correctly reflect that OR behavior for this combination, verified against a full month of real dates.

About This Tool

When to Use

  • Building a cron expression for a nightly database backup job scheduled to run at 2am server time.
  • Parsing an unfamiliar cron expression found in an inherited codebase to understand exactly when it fires, including expressions that restrict both day-of-month and day-of-week, now correctly reflected in the next-run preview.
  • Scheduling a Kubernetes CronJob to run every 15 minutes during business hours only, Monday through Friday.

Key Details

A cron expression generator and parser builds the five-or-six-field schedule strings used by cron, Kubernetes CronJobs, and CI/CD schedulers, translating a plain-English description like 'every weekda...

Worked example

Selecting 'Every weekday at 9:00 AM' generates the cron expression 0 9 * * 1-5 — minute 0, hour 9, any day of month, any month, weekdays 1 through 5 (Monday through Friday). Pasting that expression back in shows the plain-English description and lists the next five scheduled run times. Entering 0 0 1 * 1 (meaning "midnight on the 1st, or every Monday" per standard cron) now correctly produces the description "At 00:00 on day 1st, or on Monday" and a Next Runs list that includes both the 1st of the month and every Monday — previously this tool's description read "At 00:00 on 1st on Monday" (implying an impossible conjunction) and its Next Runs list came back empty for any month where the 1st wasn't a Monday.

Interpreting your result

The description and Next Runs list can now be trusted for any combination of restricted fields, including both day-of-month and day-of-week restricted simultaneously — the previously-confirmed AND-instead-of-OR bug for that combination is fixed and verified against a full month of real dates.

Cron Expression Generator / Parser FAQ

What is a cron expression?

A cron expression is a string of 5 fields separated by spaces that defines a schedule: minute, hour, day of month, month, and day of week. For example, '0 9 * * 1-5' means 'at 9:00 AM, Monday through Friday'.

How do I read a cron expression?

Read each field left to right: minute (0-59), hour (0-23), day of month (1-31), month (1-12), day of week (0-7). A * means 'every'. So '0 0 * * *' = 'every day at midnight', '* * * * *' = 'every minute'.

What is a good first cron schedule?

Start with common presets: '0 0 * * *' (daily at midnight), '*/5 * * * *' (every 5 minutes), '0 9 * * 1-5' (weekdays at 9 AM). Use this tool's preset buttons to quickly generate and explore common patterns.

What is the difference between day of month and day of week, and does this tool handle combining them correctly?

Yes, now genuinely — this was previously a confirmed bug. In real cron, when both day-of-month and day-of-week are specified (not *), the job runs on either matching day — for example, standard cron's '0 0 1 * 1' means 'run at midnight on the 1st of the month, OR every Monday,' not only when the 1st happens to fall on a Monday. This tool's "Next Runs" preview and description previously required BOTH fields to match simultaneously (AND) instead, so for a month where the 1st wasn't a Monday, it showed zero matching runs that month rather than the 1st plus every Monday. That's fixed: both the preview and the generated description now correctly apply the OR rule whenever both fields are restricted.

Why is my cron expression not running?

Common issues: incorrect field order (minute hour dom month dow), spaces between fields instead of tabs, using ',' for lists but forgetting it means each value separately, or timezone confusion (server may use UTC while you expect local time).

What's the difference between cron, crontab, and cloud schedulers?

Cron is the scheduling syntax (5 fields: minute, hour, day-of-month, month, day-of-week). Crontab is the file where cron jobs are stored on Unix systems. Cloud schedulers (AWS EventBridge, Google Cloud Scheduler, Azure Timer) extend cron with 6 fields (adding seconds) and support expressions like 'L' (last day) or 'W' (nearest weekday). Standard cron is 5 fields; always check your platform's documentation for field count.

Master Your Entire Toolkit

Access 500+ specialized calculators and tools designed for precision. No sign-up required, 100% free.

Built and reviewed by the Toolzip Team · Based on Open Group — Cron specification