Cron expression: Every hour during business hours
Runs hourly from 09:00 to 17:00, Monday through Friday.
0 9-17 * * 1-5Standard 5-field cron format — works with crontab, GitHub Actions, Vercel Cron, Kubernetes CronJobs, and most schedulers.
What does 0 9-17 * * 1-5 mean?
The cron expression 0 9-17 * * 1-5 runs every hour during business hours. A standard cron expression has five fields — minute hour day-of-month month day-of-week — and here is what each field does:
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | At minute 0 |
| Hour | 9-17 | 9 through 17 |
| Day of month | * | Every day |
| Month | * | Every month |
| Day of week | 1-5 | Monday through Friday |
How to use it
To run a job on this schedule with Unix cron, open your crontab with crontab -e and add a line that combines the expression with your command:
0 9-17 * * 1-5 /path/to/your-command
The same expression works in most modern schedulers — paste it into a GitHub Actions schedule trigger, a Vercel Cron job, a Kubernetes CronJob schedule, or your cloud task runner.
Need a different schedule?
Describe any schedule in plain English — like "every Monday at 8am" or "the last weekday of the month" — and let our AI Cron Expression Generator write the correct expression and explain it.
Generate a custom cron expression →
More cron examples
- Every Sunday —
0 0 * * 0 - Every Monday —
0 0 * * 1 - Every Friday at 5 PM —
0 17 * * 5 - Every weekday —
0 0 * * 1-5 - Every weekday at 9 AM —
0 9 * * 1-5 - Every weekend —
0 0 * * 0,6
Frequently asked questions
What is the cron expression for "every hour during business hours"?
The cron expression for every hour during business hours is 0 9-17 * * 1-5. It uses the standard 5-field format: minute, hour, day-of-month, month, and day-of-week.
How do I schedule a job to run every hour during business hours?
Add the line "0 9-17 * * 1-5 /path/to/your-command" to your crontab (run "crontab -e"), or paste 0 9-17 * * 1-5 into the schedule field of your CI/CD pipeline, serverless scheduler, or Kubernetes CronJob.
Does this cron expression use a timezone?
No. Cron expressions have no timezone of their own — they run in the timezone of the server or scheduler executing them. Set the timezone in your scheduler's configuration if you need a specific one.