Cron Expression for Weekdays (Mon–Fri) at 9 AM: 0 9 * * 1-5
Runs at 09:00 on Monday through Friday. Ideal for: Automated Slack standups, business-day billing reminders, and weekday CI build triggers.
5-Field Cron Breakdown
Live Next-10-Runs Simulator (UTC & Local Time)
Runs at 09:00 on Monday through Friday
| Run # | UTC Execution Time | Selected Timezone | Relative |
|---|---|---|---|
| Calculating next 10 runs locally... | |||
Copy-Paste Snippets Across Platforms
Linux Crontab (Overlap-Safe with flock)
0 9 * * 1-5 /usr/bin/flock -n /tmp/my-job.lock /usr/local/bin/job.sh >> /var/log/my-job.log 2>&1
GitHub Actions Workflow YAML
on:
schedule:
- cron: '0 9 * * 1-5' # UTC only
workflow_dispatch: {}
Quartz (6-Field) & AWS EventBridge
Quartz 6-field: 0 0 9 ? * 2-6 AWS EventBridge: cron(0 9 ? * 2-6 *)
Kubernetes CronJob Spec
apiVersion: batch/v1 kind: CronJob metadata: name: scheduled-job spec: schedule: "0 9 * * 1-5" timeZone: "Etc/UTC" concurrencyPolicy: Forbid
Production Pitfalls & Best Practices
Slow Nightly Cron Queries? Inspect SQL Plans Instantly in Your IDE
Optimize heavy nightly ETL, billing, and cleanup cron queries with JetBrains SQL Explain Lens and our production database runbooks available on Gumroad.
Frequently Asked Questions
What does the cron expression `0 9 * * 1-5` mean?
`0 9 * * 1-5` means: Runs at 09:00 on Monday through Friday. Its 5 fields map to Minute=0, Hour=9, Day-of-Month=*, Month=*, and Day-of-Week=1-5.
How do I run `0 9 * * 1-5` in GitHub Actions?
Add `on: schedule: - cron: '0 9 * * 1-5'` to your workflow YAML. Remember GitHub Actions always interprets cron schedules in UTC and enforces a minimum 5-minute interval.
What is the Quartz / AWS EventBridge equivalent of `0 9 * * 1-5`?
In 6-field Quartz cron use `0 0 9 ? * 2-6` (adding leading seconds `0` and `?` mutual exclusion). In AWS EventBridge use `cron(0 9 ? * 2-6 *)`.