Cron Expression Generator
Build and validate cron job schedules visually. See human-readable explanations and preview the next 5 run times instantly.
Configure schedule fields
Generated expression
Common presets
Human-readable explanation
Every minute
Next 5 run times
- 1Fri, Jun 19, 2026, 6:52 AM
- 2Fri, Jun 19, 2026, 6:53 AM
- 3Fri, Jun 19, 2026, 6:54 AM
- 4Fri, Jun 19, 2026, 6:55 AM
- 5Fri, Jun 19, 2026, 6:56 AM
Copy formats
Crontab (crontab -e)
GitHub Actions (on.schedule)
A cron expression generator lets you build, validate, and understand cron job schedules without memorising the syntax from scratch. Whether you are setting up a nightly backup, scheduling a database maintenance task, or configuring a CI pipeline trigger, getting the cron syntax exactly right is critical — a single misplaced field can mean a job runs every minute instead of once a month.
The cron format has five fields separated by spaces: minute, hour, day of month, month, and day of week. Each field accepts specific values, ranges separated by hyphens, lists separated by commas, step values using slashes, and the wildcard asterisk for "every." The combinations are powerful but easy to misread. Our cron expression builder removes the guesswork by letting you pick values from dropdowns, generating the expression automatically, and translating it into plain English using the cronstrue library.
Alongside the human-readable explanation, the tool computes the next five scheduled run times from the current moment — so you can verify immediately that your schedule behaves exactly as intended. Common presets cover the most frequent use cases: every 5 minutes, daily at midnight, every weekday at 9 AM, and more. Use the Visual Builder mode for new expressions, or paste an existing crontab expression into Raw Expression mode to validate and explain it.
The tool runs entirely in your browser — no data is sent to any server. It is compatible with standard five-field cron syntax used by crontab, GitHub Actions schedules, Kubernetes CronJobs, AWS EventBridge rules, and most Linux cron daemons.
How to Use the Cron Expression Generator
- 1
Choose your mode
Select "Visual Builder" to construct a schedule using dropdowns, or "Raw Expression" to paste an existing cron string and validate it. Both modes produce the same results section.
- 2
Set the schedule fields
In Visual Builder mode, configure the five cron fields: minute, hour, day of month, month, and day of week. Each dropdown offers wildcards, common step patterns like */5, and specific values. The generated expression updates instantly.
- 3
Review the human-readable explanation
The Results section translates your expression into plain English — for example "At 04:00 AM, only on Monday." This confirms the schedule is what you intended before you deploy it.
- 4
Check the next run times
The tool computes the next five execution dates from right now, showing exact day, date, and time. Use this to verify your job will fire at the expected intervals and not sooner or later than expected.
- 5
Copy and paste into your system
Use the Copy Formats section to copy the expression pre-formatted for crontab. Click the copy button and paste directly into your crontab file, GitHub Actions workflow, or Kubernetes manifest.
Understanding Cron Expression Fields
0 9 * * 1 means "when the hour is 9, the minute is 0, on any day of the month, in any month, but only if it is Monday."
The special characters extend what each field can express. The asterisk * matches any value in that field. A slash / defines step intervals — */15 in the minute field means every 15th minute (0, 15, 30, 45). A hyphen creates a range: 1-5 in the day-of-week field means Monday through Friday. Commas create lists: 6,18 in the hour field means 6 AM and 6 PM. Combining these lets you build virtually any schedule from simple to complex.| Field | Description |
|---|---|
| Minute | Values 0–59. Controls the minute within the hour the job runs. */5 means every 5 minutes. |
| Hour | Values 0–23 in 24-hour format. 0 is midnight, 12 is noon, 17 is 5 PM. |
| Day of Month | Values 1–31. Specifies the calendar day. Use * for every day of the month. |
| Month | Values 1–12 (or names Jan–Dec). Restricts the job to specific months of the year. |
| Day of Week | Values 0–6 where 0 and 7 are both Sunday. 1=Mon, 2=Tue, 3=Wed, 4=Thu, 5=Fri, 6=Sat. |
Common Cron Job Use Cases
Database backups
Schedule a database dump every night at 2 AM using 0 2 * * *. The backup script runs once daily, off-peak, giving you a fresh restore point every 24 hours with minimal impact on active users.
Log rotation and cleanup
Clear temporary files, rotate application logs, or purge old records on a schedule. 0 0 1 * * runs on the first of every month — a common cadence for monthly maintenance tasks.
Health checks and monitoring
Use */5 * * * * to run a health check every 5 minutes and send an alert if a service is down. Short intervals keep your response time low without the overhead of running continuously.
Scheduled reports and digests
Generate and email weekly summaries with 0 8 * * 1 — every Monday at 8 AM. Business stakeholders receive fresh reports at the start of the workweek automatically, no manual trigger required.