Cron Expression Generator
Build standard 5-part cron expressions visually.
Coming soon
Cron Expression Generator is being built and will ship in the next release. It will run 100% in your browser like every other StackPulse utility. The documentation below explains what it does and how it works.
Related tools
View allJSON Formatter & Validator
Format, minify and validate JSON instantly
Open toolSQL Formatter
Turn raw SQL queries into readable statements
Open toolJSON to TypeScript
Paste JSON, get clean TypeScript types instantly
Open toolBase64 Encoder / Decoder
Encode text and files to Base64 — or decode them back
Open toolWhy use a cron expression generator?
Cron is the standard job scheduler on Linux and most Unix-like systems, but its five-field syntax — minute, hour, day of month, month and day of week — is notoriously easy to get wrong. Days 0 to 7, ranges, steps and the interaction between day-of-month and day-of-week rules confuse even experienced DevOps engineers, and a single inverted field can turn a nightly backup into an hourly one.
A cron generator removes the guesswork by letting you build the expression from structured dropdowns: pick the minute pattern, the hour pattern, the days of the month, the months and the weekdays you care about, and the tool assembles the canonical five-part expression for you. It validates every field range, explains each part in plain language and shows the exact resulting schedule.
Because the generator is 100% client-side, you can design job schedules for production servers without any third party seeing your infrastructure details. The output drops straight into crontab files, Kubernetes CronJobs, GitHub Actions cron syntax and countless cloud schedulers that follow the standard five-field format.
Common use cases
How to generate a cron expression
- Choose the minute interval, e.g. 'Every 15 minutes' or specific minutes such as '0, 30'.
- Choose the hour pattern — every hour, a specific hour, or a range such as 9–17.
- Select the day-of-month, month and weekday fields using the summary or wildcard options.
- Read the generated five-part expression in the preview field, with each part explained in plain language.
- Copy the cron line with one click and use it in crontab, systemd timers or your orchestration tool.
Test cases
Input · Every day at 03:00
0 3 * * * — minute 0, hour 3, any day of month, month or weekday.
Input · Every 15 minutes during business hours, weekdays
*/15 9-17 * * 1-5 — 15-minute steps between 09:00 and 17:59 from Monday to Friday.
Frequently asked questions
What does the 0/7 weekday ambiguity mean for my schedule?
In the standard five-field format, Sunday can be represented as both 0 and 7. The generator uses 0 for Sunday and flags ambiguous ranges so your expression means exactly what you intend.
Does this cron syntax work in Kubernetes and CI pipelines?
Mostly, with caveats. crontab, systemd timers and the standard Vixie cron accept it directly. Kubernetes CronJob and GitHub Actions use almost identical five-field syntax with minor differences in allowed ranges — verify against your platform's documentation.
Can it generate expressions for a specific date like 'on the 1st of every month'?
Yes. Use the day-of-month dropdown to select '1' with month and weekday set to wildcard, producing 0 0 1 * *, which is the canonical 'first of the month at midnight' expression.