⏰ Cron Expression Generator

Create and validate cron schedules with visual interface

🚀 Quick Presets
🔧 Build Your Schedule
When the cron job should run (0-59)
minute(s)
Hour of the day (0-23)
hour(s)
Day of the month (1-31)
Month of the year
Days when the job should run
📋 Generated Cron Expression
* * * * *
Minute
*
Hour
*
Day
*
Month
*
Weekday
*
This cron job will run every minute.
📅 Next 5 Execution Times
💡 About Cron Expressions

Cron is a time-based job scheduler in Unix-like operating systems. Cron expressions define when a job should run using a specific syntax.

📋 Cron Expression Format

A standard cron expression consists of 5 fields:

minute hour day month weekday
Field Values Special Characters
Minute 0-59 * , - /
Hour 0-23 * , - /
Day of Month 1-31 * , - / ?
Month 1-12 or JAN-DEC * , - /
Day of Week 0-6 or SUN-SAT * , - / ?

🔤 Special Characters

  • * (asterisk) - Matches all values (e.g., every minute, every hour)
  • , (comma) - List separator (e.g., 1,3,5 = 1st, 3rd, and 5th)
  • - (dash) - Range of values (e.g., 1-5 = 1 through 5)
  • / (slash) - Step values (e.g., */5 = every 5 units)

📝 Common Examples

  • 0 0 * * * - Daily at midnight
  • 0 */2 * * * - Every 2 hours
  • 30 9 * * 1-5 - 9:30 AM on weekdays
  • 0 0 1 * * - First day of every month at midnight
  • */15 * * * * - Every 15 minutes
  • 0 22 * * 0 - 10 PM every Sunday

🎯 Use Cases

  • Automated Backups: Schedule database backups during off-peak hours
  • Data Processing: Run ETL jobs at specific intervals
  • Report Generation: Generate daily, weekly, or monthly reports
  • System Maintenance: Clear cache, logs, or temporary files
  • Monitoring: Run health checks or send status notifications
  • Email Campaigns: Schedule marketing emails or newsletters

⚠️ Important Notes

  • Cron uses the server's timezone - ensure you account for time zones
  • Day of month and day of week fields are independent - using both can produce unexpected results
  • The minimum interval for standard cron is 1 minute
  • Some systems support 6 or 7 field cron expressions with seconds and/or year fields
  • Always test your cron expressions before deploying to production