Cron Expression Parser
Parse cron expressions into plain English with next run times.
Next 10 Run Times
Common Presets
What Is a Cron Expression?
Cron is a time-based job scheduler in Unix-like operating systems. A cron expression is a string of five fields that defines when a scheduled task should run. The five fields represent: minute (0-59), hour (0-23), day of month (1-31), month (1-12), and day of week (0-7, where both 0 and 7 represent Sunday). Cron has been a fundamental part of Unix since the 1970s.
Cron Syntax Breakdown
Each field supports special characters. An asterisk (*) means "every." A slash (/) defines intervals (*/5 means every 5 units). Commas (,) list specific values (1,3,5). Hyphens (-) define ranges (1-5 means 1 through 5). Combining these creates powerful schedules: "0 9 * * 1-5" runs at 9:00 AM every weekday.
Cron vs Other Schedulers
While cron dominates Unix/Linux, other platforms have equivalents. Windows Task Scheduler uses a GUI-based approach. Systemd timers offer more features than cron on modern Linux. Cloud platforms have their own schedulers: AWS EventBridge, Google Cloud Scheduler, and Azure Logic Apps. Most of these support cron expression syntax, making it a universal scheduling language.
Common Use Cases
Cron jobs power countless automated tasks: database backups (nightly at 2 AM), sending email digests (every morning), clearing caches (every hour), syncing data between systems (every 15 minutes), generating reports (monthly), and monitoring system health (every minute). Any recurring task that needs to run on a schedule is a candidate for cron.
Timezone Handling
Cron jobs traditionally run in the system's local timezone. This can cause issues with daylight saving time transitions — jobs may run twice or be skipped. Modern cron implementations and cloud schedulers let you specify a timezone explicitly (e.g., CRON_TZ=America/New_York). Always specify timezones for production cron jobs to avoid surprises.