Crontab Expression Generator & Explainer
Build cron schedules with dropdown controls, paste existing expressions for plain-English explanations, and verify the next 5 run times in your local timezone.
Updated
Build expression
How to use Crontab Expression Generator & Explainer
This crontab generator helps you create and debug 5-field cron schedules without memorizing dense syntax rules. Use the visual builder to compose each field safely, or paste an existing expression to get a plain-English explanation and the next five local run times. Everything is calculated in your browser with deterministic logic, including month and weekday names, step ranges, and standard day-of-month OR day-of-week semantics, so you can validate schedules before touching production cron jobs.
- Pick Build mode and configure each field using every, specific, range, or step options.
- Click Generate expression to produce a valid 5-field crontab string.
- Paste or edit any cron expression in Explain mode and submit it for parsing.
- Read the plain-English description and inspect the next 5 local run times.
- Copy the final expression into crontab, CI schedulers, or server automation jobs.
Your data never leaves your device — 100% private processing.
How cron matching works across fields
Cron evaluates minute, hour, month, and day constraints together, but day-of-month and day-of-week have a special rule in classic Unix behavior. If both day fields are restricted, the job runs when either one matches (OR semantics). That means an expression like 0 9 1 * MON can trigger on the first day of each month and on Mondays at 9:00, not only when both overlap. This is one of the most common scheduling mistakes, especially when teams assume strict AND logic.
Practical validation for production schedules
A cron expression that parses is not always practical. Schedules can be syntactically valid but impossible in real calendars, such as targeting day 30 in February. This tool caps next-run searches to avoid infinite loops and surfaces when no matching dates appear in the inspected window. It also accepts JAN-DEC and SUN-SAT names and normalizes Sunday as 0 or 7, mirroring standard crontab implementations used on Linux servers and many managed schedulers.
Worked examples
Quarter-hour heartbeat job
Inputs: */15 * * * *
Result: Runs every 15 minutes at :00, :15, :30, and :45 each hour
Weekday morning task
Inputs: 0 9 * * MON-FRI
Result: Runs at 09:00 on Monday through Friday
New-year annual task
Inputs: 0 0 1 1 *
Result: Runs once per year at midnight on January 1
Glossary
- Crontab expression
- A five-part schedule string defining minute, hour, day-of-month, month, and day-of-week execution rules.
- Wildcard
- An asterisk (*) token that means every valid value in a cron field.
- Step value
- A /n suffix such as */15 or 0-30/10 that repeats executions at fixed intervals.
- OR semantics
- Standard cron behavior where restricted day-of-month and day-of-week fields are matched as OR, not AND.
- Named fields
- Month and weekday aliases like JAN, FEB, MON, and FRI accepted as readable alternatives to numbers.
Related reading
Frequently Asked Questions
Get weekly tool tips & updates
New tools, power-user tips, and productivity hacks — delivered free every Friday.
No spam, ever. Unsubscribe with one click.
Why use Crontab Expression Generator & Explainer?
- Build valid cron expressions with guided field modes for every, specific values, ranges, and steps
- Decode existing schedules instantly with a readable sentence and next-run preview in local time
- Catch invalid values early with strict field validation and clear error messages
- Verify tricky combinations like MON-FRI, JAN-DEC, and range/step expressions before deployment
Common use cases
- Prepare a maintenance schedule that runs every weekday at a fixed hour
- Audit a legacy cron line from a shell script to confirm it runs when expected
- Validate an operations schedule that mixes named months and weekday constraints
- Spot impossible schedules such as February 30 before they silently fail in production
Related Developer Tools
Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and vice versa. Supports seconds and milliseconds. Shows UTC, local, and ISO 8601 formats.
Regex Tester
Test and debug regular expressions online. See live matches, capture groups, and replace output. Free, private, instant.
Time Zone Converter
Convert time between any time zones instantly. See multiple cities at once with UTC offsets and DST information.
JSON Formatter & Validator
Format, validate, and minify JSON instantly. Includes syntax highlighting, error detection, and a collapsible tree view — free, private, in-browser.
Base64 Encoder & Decoder
Encode text or files to Base64, or decode Base64 strings back to text. Fast, free, and runs entirely in your browser.
URL Encoder / Decoder
Encode and decode URLs and URL components online. Convert special characters to percent-encoding and back instantly — free, private, and fast.
Explore all Developer Tools.