Cron Expression Generator
Free online Cron expression generator, no installation required. Visual editor showing next execution times
What are Cron Expressions?
Cron is a time-based job scheduler in Unix-like systems. A cron expression is a string with 5 fields separated by spaces: minute (0-59), hour (0-23), day of month (1-31), month (1-12), and day of week (0-6, where 0 is Sunday). Each field can use specific values, ranges (* is wildcard for "every"), lists (comma-separated), or intervals (slash-n for "every n units"). Cron jobs run automatically at scheduled times defined by the expression.
How to Use This Cron Expression Generator
For each field (minute, hour, day, month, weekday), choose a mode: Every (*), Specific (enter exact values), Range (from-to), or Interval (every N). Configure each field according to when you want your job to run. The tool shows the resulting cron expression and previews the next 5 execution times based on current time. Copy the expression to use in your crontab, scheduler, or automation tool.
Understanding Cron Field Interactions
Day and weekday fields both specify days. In many cron implementations, if both are restricted (not *), the job runs when either condition matches (OR logic). Some systems use AND logic. If you specify day 15 and weekday 1 (Monday), it runs on the 15th of every month AND every Monday. Be precise with your intent, and test to verify behavior in your specific cron environment.
▶What's the difference between @daily and 0 0 * * *?
▶How do I schedule a job every 5 minutes?
▶Can I schedule complex patterns like "last Friday of the month"?
▶Why doesn't my cron job run at the expected time?
If this tool helped you, consider buying the author a coffee.
Buy Me a Coffee