Complete Cron Interval Patterns Guide
Master cron scheduling with our comprehensive guides covering every interval pattern. From high-frequency minute intervals to annual schedules, find the perfect cron expression for your needs.
Minute Intervals
Schedule tasks every X minutes (1-59)
Example Expressions:
* * * * **/5 * * * **/15 * * * *Common Use Cases:
- Real-time monitoring
- Queue processing
- Data sync
Hourly Intervals
Run jobs every X hours (1-23)
Example Expressions:
0 * * * *0 */2 * * *0 */6 * * *Common Use Cases:
- Log rotation
- Backups
- Reports
Daily Patterns
Daily schedules at specific times
Example Expressions:
0 0 * * *0 6 * * *0 12 * * *Common Use Cases:
- Daily backups
- Cleanup tasks
- Daily reports
Weekly Schedules
Weekly patterns and weekday/weekend jobs
Example Expressions:
0 0 * * 00 9 * * 1-50 0 * * 6Common Use Cases:
- Weekly reports
- Weekend maintenance
- Monday summaries
Monthly & Quarterly
Monthly, quarterly, and annual schedules
Example Expressions:
0 0 1 * *0 0 15 * *0 0 1 */3 *Common Use Cases:
- Monthly billing
- Quarterly reports
- Annual reviews
Complex Patterns
Advanced combinations and special cases
Example Expressions:
0 9-17 * * 1-5*/15 9-17 * * *0 0,12 * * *Common Use Cases:
- Business hours only
- Multiple times daily
- First week of month
Popular Cron Intervals
Detailed guides for the most commonly used cron schedules:
* * * * *Every Minute*/5 * * * *Every 5 Minutes*/10 * * * *Every 10 Minutes*/15 * * * *Every 15 Minutes*/30 * * * *Every 30 Minutes0 * * * *Every Hour0 */2 * * *Every 2 Hours0 */6 * * *Every 6 Hours0 */12 * * *Every 12 Hours0 0 * * *Every Day*/2 * * * *Every 2 Minutes*/3 * * * *Every 3 Minutes*/20 * * * *Every 20 Minutes0,45 0-23/3 * * *Every 45 Minutes0 */3 * * *Every 3 Hours0 */4 * * *Every 4 Hours0 */8 * * *Every 8 Hours0 0 * * 1Every Monday0 0 * * 5Every Friday0 0 * * 0Every Sunday0 0 * * 1-5Every Weekday0 0 * * 6,0Every Weekend0 0 1 * *First Day of Month0 0 28-31 * *Last Day of Month0 0 1,15 * *1st and 15th of the Month0 0 1 */3 *Every Quarter0 0 1 1 *Every Year0 0 1 * *Every Month0 12 * * *Every Day at Noon0 9 * * *Every Day at 9 AM0 2 * * *Every Day at 2 AM0 0 1,15 * *Every 2 WeeksUnderstanding Cron Interval Syntax
The Five Fields
* */5 */15 30* */2 9-17 0* 1 15 1-7* */3 1 12* 1-5 0 6Special Characters
* Any value* * * * **/n Every n units*/5 * * * *n-m Range0 9-17 * * *n,m List0 0,12 * * *? No specific value0 0 ? * *Quick Reference: Most Used Patterns
High Frequency
Hourly & Daily
Weekly & Monthly
0 0 * * 00 9 * * 1-50 0 1 * *Best Practices for Cron Intervals
Performance Optimization
- Avoid running all jobs at minute 0 to prevent system overload
- Use random minute offsets for non-critical tasks
- Consider job duration when setting intervals
- Implement proper locking mechanisms for long-running jobs
Reliability & Monitoring
- Always test cron expressions before deployment
- Log job execution and completion times
- Set up alerts for failed executions
- Document your cron schedules and their purposes
Time Zone Awareness
- Be aware of DST (Daylight Saving Time) changes
- Consider using UTC for global systems
- Document time zone assumptions
- Test behavior during time changes
Maintenance & Scaling
- Keep cron jobs simple and focused
- Use configuration management for cron entries
- Consider job schedulers for complex workflows
- Plan for horizontal scaling needs
Related Tools
Cron Tools
Cron Builder
Build cron expressions visually
Cron Converter
Convert plain language into cron syntax
Cron Checker & Validator
Check, validate, and test cron expressions
Cron Timezone Converter
Convert cron times across time zones
Every X Minutes
Minute interval cron patterns
Every X Hours
Hourly cron scheduling patterns
Daily Schedules
Run jobs at specific times of day
Weekly Schedules
Weekday and day-of-week patterns
Monthly Schedules
Monthly, quarterly, and annual cron
Complex Patterns
Business hours and multi-schedule
Cron Syntax Guides
Learn syntax, examples, and best practices
Crontab Examples & Presets
Browse 300+ cron expression presets