Cron Expression: 0 9-17 * * 1-5
At minute 0 of every hour from 09:00 to 17:00, Monday through Friday.
Field Breakdown
| Field | Value |
|---|---|
| Minute | 0 |
| Hour | 9-17 |
| Day of Month | * |
| Month | * |
| Day of Week | 1-5 |
Common Use Case
Business-hours-only on weekdays.
Equivalents in Popular Schedulers
crontab (Linux/macOS)
0 9-17 * * 1-5 /path/to/your/script.sh
GitHub Actions (.github/workflows/*.yml)
on:
schedule:
- cron: '0 9-17 * * 1-5'
AWS EventBridge (cron format)
cron(0 9-17 * * 1-5) # Note: AWS uses 6 fields with year
Kubernetes CronJob
spec: schedule: "0 9-17 * * 1-5"