Cron Expression Generator — Build Cron Schedules Visually
Build cron expressions visually without memorizing the syntax. Select minutes, hours, days, months, and weekdays to generate the cron expression. Perfect for setting up scheduled tasks, CI/CD pipelines, and automated jobs.
0 0 * * *At 00:00
What is cron expression?
A cron expression is a string of 5 (or 6) fields representing a schedule: minute, hour, day of month, month, and day of week. Each field can be a value, range, list, or special character like * (any) or */n (every n).
Why Use This Tool
- Scheduled tasks — Set up cron jobs on Linux servers.
- GitHub Actions — Schedule workflow runs with cron triggers.
- CI/CD pipelines — Configure scheduled builds and deployments.
- Database backups — Schedule automated backup scripts.
- Monitoring — Set up periodic health checks.
Tips
- * means "every" — 0 * * * * runs every hour at minute 0.
- */n means "every n" — */15 runs every 15 units.
- Commas separate multiple values: 1,15 means 1 and 15.
- Hyphens define ranges: 1-5 means 1 through 5.
How to Use the Cron Expression Generator
Select frequency
Choose how often: every minute, hour, day, week, or month.
Set specific times
Pick the exact minute, hour, or day.
View expression
See the generated cron expression.
Copy and use
Copy the expression for your scheduler.
Worked Examples
Every day at midnight
Daily at 00:00
0 0 * * *
Every Monday at 9 AM
Weekly on Monday at 09:00
0 9 * * 1
Every 15 minutes
Every 15 minutes
*/15 * * * *
First of month at 6 AM
Monthly on 1st at 06:00
0 6 1 * *
Cron Field Reference
| Feature | Field | Values |
|---|---|---|
| Minute | 0-59 | First field |
| Hour | 0-23 | Second field |
| Day of Month | 1-31 | Third field |
| Month | 1-12 | Fourth field |
| Day of Week | 0-6 (Sun-Sat) | Fifth field |
Frequently Asked Questions
What does * mean in cron?
The asterisk (*) means "any value" or "every". For example, * in the hour field means every hour.
What does */5 mean?
*/5 means "every 5 units". For example, */5 in the minute field runs every 5 minutes.
What timezone does cron use?
Cron typically uses the server's system timezone. GitHub Actions uses UTC. Always verify your scheduler's timezone.
How do I run on multiple days?
Use a comma-separated list. For example, 1,3,5 in the day-of-week field runs on Monday, Wednesday, Friday.