Cron Expression Generator
Create cron expressions
Visual Cron Builder
Manual Expression Parser
About this tool
This free Cron Expression Generator builds crontab schedule expressions without the guesswork. Choose when your job should run — specific minutes, hours, days of the week, days of the month — and the tool assembles the five-field cron expression for you, showing a plain-English preview of exactly when it will fire. For the reverse direction, paste an existing expression and see it translated into human language, so you finally know what that cryptic line in your crontab or CI config actually does. Nothing to install, no account needed; generation and preview happen live as you click. Cron is the time-based job scheduler that has run Unix systems since the 1970s, and its five-field format has outlived every alternative: minute (0-59), hour (0-23), day of month (1-31), month (1-12), and day of week (0-6). The syntax is compact and cryptic by design — */5 * * * * runs every five minutes, 0 9 * * 1-5 runs at 9 AM on weekdays, 0 0 1 * * fires at midnight on the first of each month. Those symbols carry specific semantics: * means every value, / defines steps, ranges with - define spans, and commas list values. The problem is that composing them by hand is error-prone in ways that hide: a schedule with both day-of-month and day-of-week set behaves differently than almost everyone expects, a schedule intended for weekdays can silently fire on Saturdays, and a single wrong field can turn 'nightly backup' into 'every minute all night'. This generator prevents those failures by construction — you pick the schedule in plain concepts, and it emits correct syntax. Cron expressions live far beyond the command line today: CI/CD pipelines (GitHub Actions, GitLab CI), Kubernetes CronJobs, cloud schedulers (AWS EventBridge, Cloud Scheduler), application frameworks (Spring, Laravel, Node cron libraries) all speak the same five-field dialect — with occasional dialect differences worth knowing, which the tool's preview helps you verify against your target system. Everything runs locally in your browser. Your schedules are generated and interpreted entirely by client-side JavaScript — nothing is uploaded, logged or stored on any server. Disconnect from the internet after the page loads and the generator keeps working.
Frequently asked questions
What is a cron expression and what do its five fields mean?+
A cron expression is five fields separated by spaces, defining when a scheduled job runs: minute (0-59), hour (0-23), day of month (1-31), month (1-12), and day of week (0-6, where both 0 and 7 typically mean Sunday). So 30 2 * * * means 'at 2:30 AM every day'. Each field can hold a single value, a range (1-5), a list (1,15,30), a step (*/5 meaning every 5th), or * meaning every possible value — and combining these is exactly what this generator automates.
How do I create a cron expression with this tool?+
Pick your schedule using the controls — specific minutes and hours, day-of-month and day-of-week combinations, monthly or yearly patterns — and the tool assembles the five-field expression live, showing a plain-English preview like 'At 09:00, Monday through Friday' so you can verify the meaning before copying. Copy the expression into your crontab, GitHub Actions workflow, Kubernetes CronJob or application scheduler, and it behaves exactly as previewed.
What do the special characters * / , - mean in cron?+
Four symbols carry the syntax: * means every value the field allows; - builds a range (9-17 means 9 through 17); , lists values (0,15,30,45); and / defines a step — */10 in the minutes field means every 10th minute, and 9-17/2 means every 2 hours within working hours. Combining them: 0 */6 * * * fires every six hours on the hour. The generator writes these correctly for you, but reading them is worth learning.
Why does my cron job run on the wrong day of the week or month?+
You have hit cron's most counterintuitive rule: when BOTH day-of-month and day-of-week are restricted (neither is *), cron fires on the union — a job with day-of-month 1 and day-of-week 1 runs on the 1st AND every Monday, not 'the first Monday'. Most people expect intersection. The fix is keeping one of the two fields as * whenever possible, which the generator does automatically — and why its preview is worth checking on any hand-me-down expression.
Do cron expressions use timezones?+
Classic Unix crontab runs in the system's local timezone — check it with the date command — while cloud schedulers usually let you set a timezone per job explicitly. This matters enormously for 'run at 9 AM' jobs: a server in UTC fires five and a half hours early for a schedule written in India. The generator's preview describes the schedule as written; setting the right timezone for the running system is the step to double-check at deployment.
What is the difference between 5-field and 6/7-field cron expressions?+
The classic Unix crontab uses five fields (minute through day-of-week). Some systems add a seconds field at the front (Quartz, Spring, some Node libraries produce six), and Quartz adds an optional seventh year field at the end. The five core fields mean the same thing everywhere this tool generates, but check which dialect your target system speaks before pasting — a 6-field expression in a 5-field crontab fails confusingly, with the seconds field misread as minutes.
Does this tool save or upload my cron schedules?+
No. All generation and interpretation happens locally inside your browser using client-side JavaScript — your expressions never leave your device, are never transmitted to any server, and are never logged or stored. After the page loads you can disconnect from the internet and the generator keeps working. Cron schedules can reveal operational details — when backups run, when reports fire — and none of that ever leaves your machine here.
Can I use the generated expression anywhere cron is used?+
Yes, across the five-field dialect: Linux and macOS crontab, GitHub Actions (on.schedule), GitLab pipelines, Kubernetes CronJobs, AWS EventBridge rules, Google Cloud Scheduler, and application-level libraries like node-cron and Laravel's scheduler all consume the same five-field syntax. Verify your target system's dialect for the seconds-field and timezone questions above, and the expression itself ports directly.