Cron Job During Business Hours Only – Expression & Examples
The range 9-17 in the hour field combined with 1-5 in day-of-week creates a business-hours-only schedule. Runs hourly from 9 AM to 5 PM, Monday through Friday.
How It Works
The range 9-17 in the hour field combined with 1-5 in day-of-week creates a business-hours-only schedule. Runs hourly from 9 AM to 5 PM, Monday through Friday.
Common Use Cases
- Work-hours monitoring
- Business-day-only notifications
- Office automation
Monitor a Job on This Schedule
Writing the 0 9-17 * * 1-5 schedule is only half the job. Cron fires silently — if the run is skipped, the server is down, or the script fails, nothing tells you. A heartbeat monitor closes that gap: your job pings a URL on success, and you get an alert the moment an expected run goes missing. CronJobPro can run this schedule for you as an HTTP job, or watch a job you run elsewhere (cron, CI, Kubernetes) with a dead-man's-switch check.
Schedule This Cron Job Now
Create a free CronJobPro account and use 0 9-17 * * 1-5 to schedule HTTP requests automatically — with monitoring, retries, and notifications built in.
Frequently Asked Questions
What does 0 9-17 * * 1-5 mean in cron?
The range 9-17 in the hour field combined with 1-5 in day-of-week creates a business-hours-only schedule. Runs hourly from 9 AM to 5 PM, Monday through Friday.
How do I use this cron expression?
On Linux/macOS, edit your crontab with crontab -e and add:0 9-17 * * 1-5 /path/to/your/script.sh
Or use CronJobPro to schedule HTTP requests with this expression — no server required.
What timezone does cron use?
By default, cron uses the system timezone. CronJobPro lets you set a specific timezone per job, so your schedules are predictable regardless of server location.