What Is a Cron Expression?
Cron is a time-based job scheduler used on Unix and Linux systems and reused by most modern cloud platforms — GitHub Actions, AWS EventBridge, Google Cloud Scheduler, Kubernetes CronJobs, and many more. A cron expression is a compact 5-field string that says exactly when a job should run. The syntax is powerful but not human-readable, which is why this tool exists.
Cron Expression Syntax
┌─────────── 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) │ │ │ │ │ * * * * *
*— every value in the field's range.,— a list of values (e.g.1,3,5).-— an inclusive range (e.g.9-17)./— a step (e.g.*/15means every 15th value).
Common Cron Schedules
| Expression | Schedule |
|---|---|
| * * * * * | Every minute |
| */5 * * * * | Every 5 minutes |
| 0 * * * * | Every hour |
| 0 9 * * * | Daily at 9:00 AM |
| 0 9 * * MON-FRI | Weekdays at 9:00 AM |
| 0 0 1 * * | Monthly on the 1st at midnight |
| 0 0 * * SUN | Every Sunday at midnight |
Where Are Cron Expressions Used?
- Linux / Unix
crontab - GitHub Actions scheduled workflows
- AWS CloudWatch / EventBridge rules
- Google Cloud Scheduler
- Azure Functions timer triggers
- Kubernetes CronJobs
- CI/CD pipelines (Jenkins, GitLab CI, CircleCI)
Privacy & Security
Your cron expressions never leave your browser. CodeScrub runs entirely client-side — nothing is sent to any server, stored, or logged.