Cron Expression Generator
Build and understand cron expressions with an interactive visual editor
0-59
0-23
1-31
1-12
0-6 (SUN=0)
Every minute of every hour
What is Cron Expression Generator?
Cron Expression Generator is a free online tool that helps you build and understand cron expressions with an interactive visual editor. Cron expressions define schedules for recurring tasks in Unix-like systems, CI/CD pipelines, cloud functions, and job schedulers. Instead of memorizing the five-field syntax, you can use the visual editor to select minute, hour, day, month, and day-of-week values, and the tool generates the correct cron expression. It also provides a human-readable description of when the schedule will run. The tool includes common presets for everyday scheduling needs. All processing happens in your browser with no data sent to any server.
How to Use
- Select a preset or configure each field manually.
- Set the minute, hour, day, month, and weekday fields.
- Review the generated cron expression and its description.
Tips & Best Practices
- Use presets for common schedules like daily, hourly, or weekly, then customize from there.
- Test your cron expression by checking the generated description before deploying to production.
- Use ranges (1-5) for consecutive values and lists (1,3,5) for non-consecutive values.
- Remember that day-of-week typically starts with 0 (Sunday) in most cron implementations.
- Use */N syntax for intervals, like */5 in the minute field for every 5 minutes.
Use Cases
Server Maintenance
Schedule database backups, log rotation, and cleanup tasks at specific times.
CI/CD Pipelines
Define build and deployment schedules in GitHub Actions, Jenkins, or GitLab CI.
Cloud Functions
Set up scheduled triggers for AWS Lambda, Google Cloud Functions, or Azure Functions.
Monitoring
Schedule health checks, report generation, and alert processing at regular intervals.
FAQ
What is a cron expression?
A cron expression is a string of five fields (minute, hour, day-of-month, month, day-of-week) that defines a schedule for recurring tasks.
What does * mean in cron?
The asterisk (*) means 'any value' or 'every'. For example, * in the hour field means 'every hour'.
What is a Cron expression?
A Cron expression is a time notation used in Unix-like systems to schedule tasks, consisting of 5 fields: minute, hour, day, month, and weekday.
Is my data sent to any server?
No, Cron expression generation and interpretation are all processed locally in your browser.
What do * (asterisk) and / (slash) mean in Cron?
* means every possible value for that field, and / denotes intervals. For example, */5 means every 5 minutes or every 5 days.
What is the difference between 5-field and 6-field Cron?
Standard Cron uses 5 fields (minute to weekday), while some systems (Spring, Quartz) add a seconds field for 6 fields. This tool generates the standard 5-field format.
Is my data collected?
No, all processing happens in your browser. No data is sent to any server.
What do the five fields represent?
The five fields are: minute (0-59), hour (0-23), day of month (1-31), month (1-12), and day of week (0-6).
What does */5 mean?
*/5 means 'every 5th unit'. In the minute field, it means every 5 minutes (0, 5, 10, 15...).
Can I specify multiple values?
Yes, use commas for lists (1,3,5) and hyphens for ranges (1-5). You can also combine them.
Is there a seconds field?
Standard cron uses 5 fields (no seconds). Some systems like Spring Boot support a 6th field for seconds.
How do I test if my cron is correct?
Read the human-readable description generated by this tool to verify the schedule matches your expectations.