Cron Expression Generator
Build cron expressions visually with presets, description, and next-run preview. Supports 5 and 6-field cron. 100% client-side.
⏰ Next 10 run times
About Cron Expression Generator
Cron expressions are the standard way to specify recurring schedules in Unix-like systems. A cron expression is a set of 5 (or 6) fields — minute, hour, day of month, month, day of week (plus seconds for 6-field) — that together define when a job should run. Writing cron expressions by hand is error-prone: it is easy to confuse the field order, forget the day-of-week OR behavior, or miscount steps. This generator lets you build expressions visually: pick presets, use dropdowns to select specific hours or days, and see the description and next-run times update in real time. It supports ranges (1-5), lists (1,3,5), steps (*/15), and all standard special values. Everything runs in your browser.
How It Works
- Pick a common preset (e.g., "Every day at midnight") or build from scratch.
- Use the dropdowns to configure minute, hour, day, month, and weekday fields.
- Choose whether to include the seconds field (6-field cron).
- See the cron expression, description, and next 10 run times update live.
- Copy the expression and paste it into your crontab or scheduler.
✨ Key Features
- ✓20+ common presets (every minute, hourly, daily, weekdays, monthly, quarterly)
- ✓Visual dropdowns for each field
- ✓Supports 5-field (standard) and 6-field (with seconds) cron
- ✓Ranges, lists, steps, and all special syntax
- ✓Plain-English description of the schedule
- ✓Preview of the next 10 run times
- ✓Live updates as you change the fields
- ✓Validates the expression
- ✓@-shortcut examples (@daily, @weekly, @monthly)
- ✓Copy the expression with one click
- ✓100% client-side — no data sent to any server
🎯 Common Use Cases
- →Setting up scheduled jobs on a Linux server
- →Configuring GitHub Actions schedules (on: schedule: cron:)
- →Creating Kubernetes CronJobs
- →Setting up Netlify, Vercel, or Cloudflare scheduled functions
- →Verifying a cron expression you found online
- →Teaching cron syntax to team members
- →Preparing documentation with correct schedules
- →Debugging crontab entries that run at unexpected times
💡 Advanced Tips & Pro Insights
- ▸Cron uses OR logic for day-of-month and day-of-week: "0 0 1 * 1" runs on the 1st of the month OR every Monday, not both.
- ▸The step operator "/" divides a range: "*/15" in the minute field means every 15 minutes.
- ▸Use @daily, @weekly, @monthly, @hourly, @yearly (or @annually) for common schedules — they are cleaner than the equivalent 5-field syntax.
- ▸Sunday is both 0 and 7 in the day-of-week field. Both mean Sunday.
- ▸The hour field uses 24-hour time. "0 14 * * *" runs at 2 PM, not 2 AM.
- ▸For "every 5 minutes during business hours", use "*/5 9-17 * * 1-5" — this tool supports all of these.