Crontab Generator
Build cron expressions visually — pick minute/hour/day/month/weekday via every / every-N / specific / range / list controls, get a valid 5-field expression, a plain-English description, the next N run times (timezone-aware), and 15+ presets (every 5 min, hourly, daily, weekly, monthly, weekdays, weekends, quarterly, yearly). Two-way builder↔expression sync, validator (catches the day-of-month vs day-of-week OR-semantics gotcha), Quartz 6/7-field and AWS EventBridge modes. 100% client-side — no network.
About Crontab Generator
Build cron expressions visually — pick minute/hour/day/month/weekday via every / every-N / specific / range / list controls, get a valid 5-field expression, a plain-English description, the next N run times (timezone-aware), and 15+ presets (every 5 min, hourly, daily, weekly, monthly, weekdays, weekends, quarterly, yearly). Two-way builder↔expression sync, validator (catches the day-of-month vs day-of-week OR-semantics gotcha), Quartz 6/7-field and AWS EventBridge modes. 100% client-side — no network. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.
FAQ
What are the 5 fields of a cron expression?
Standard Unix cron has 5 fields separated by spaces: `minute hour day-of-month month day-of-week`. Ranges: minute 0–59, hour 0–23, day-of-month 1–31, month 1–12 (or JAN–DEC), day-of-week 0–6 (or SUN–SAT, where 0 and 7 are both Sunday). Each field accepts `*` (every), `*/N` (every N), `A-B` (range), `A,B,C` (list), or `A-B/N` (stepped range).
What is the day-of-month vs day-of-week OR-semantics gotcha?
In standard (Vixie) cron, if BOTH day-of-month and day-of-week are restricted (not `*`), the job runs when EITHER matches (OR semantics) — not both. So `0 0 1 * 1` runs at midnight on the 1st of the month AND every Monday, not 'midnight on the 1st when it's a Monday'. If only one is restricted, the other is treated as `*`. This tool's validator flags the OR case explicitly.
How are the next-run times computed?
The tool runs the standard Vixie cron algorithm entirely in your browser — no network, no external library. It walks minute-by-minute from your chosen start time (default: now), respecting the day-of-month/day-of-week OR rule, until it finds the next matching minute. Results show the next 5 runs in your browser's local timezone. DST transitions are handled automatically by the Date object.
What is the difference between Unix, Quartz, and AWS EventBridge cron?
Unix cron is 5-field (minute hour dom month dow). Quartz is 6 or 7-field: `seconds minutes hours dom month dow [year]`, supports `?` (no specific value), `L` (last), `W` (weekday), and `#` (nth weekday). AWS EventBridge uses 6-field cron(minutes hours dom month dow year) — but its day-of-month and day-of-week use AND semantics (the opposite of Unix!) and `?` is required in one of them. This tool supports all three modes.
What extra features does this tool have versus crontab.guru?
(1) Visual builder with every / every-N / specific / range / list modes per field. (2) 15+ one-click presets (every 5/10/15/30 min, hourly, daily, weekly, weekdays, weekends, monthly, quarterly, yearly, midnight, noon, business hours). (3) Two-way sync — type an expression, the builder updates; tweak the builder, the expression updates. (4) Plain-English description. (5) Next-5-run preview (timezone-aware, DST-aware). (6) Validator with the OR-semantics warning. (7) Quartz 6/7-field mode. (8) AWS EventBridge mode (with the AND-semantics warning). (9) Month/weekday name support (JAN–DEC, SUN–SAT). (10) Stepped ranges (1-10/2 = 1,3,5,7,9). (11) Copy + download .cron / .txt. (12) Shareable deep-link to your config. (13) Recent history (localStorage, last 20). 100% client-side — no ads, no tracking.
Related tools
.bashrc / .zshrc Alias & Config Manager
Build shell aliases, functions, exports, and PATH edits in a visual editor, then export a clean, commented .aliases file sourced from both .bashrc and .zshrc — with shadowing detection against shell builtins and common CLI tools, function suggestions when args are needed, starter packs (git, docker, kubectl, navigation, safety, ls, dev, devops, data science), import of existing rc files, dedupe, history (localStorage), and shareable URL. 100% client-side.
Add / Subtract Date Calculator
Add or subtract years, months, weeks, days, hours, minutes and seconds from a starting date/time. Calendar-day or business-day mode with custom weekend + holiday list. Month-end policy toggle (clamp to last day vs overflow). Repeat/series mode (e.g. every 2 weeks x 10) with CSV export. Shareable URL. 100% client-side.
Age Calculator
Calculate exact age from a birth date in calendar years/months/days (no negative-day bugs) plus totals in months/weeks/days/hours/minutes/seconds. Next-birthday countdown with weekday. Feb-29 birthday policy toggle. Milestones (1,000 days, 10,000 days, 1 billion seconds). Zodiac sign + Chinese zodiac. Age gap comparison. Shareable URL. 100% client-side.