Cron Expression for Every Weekday
0 0 * * 1-5→Runs at midnight Monday through FridayQuick Examples
How It Works
0 0 * * 1-5 uses a range in the day-of-week field. 1-5 means Monday (1) through Friday (5), so the job runs at midnight on each business day but skips Saturday and Sunday. This is ideal for automations tied to the work week.Common Use Cases
- 1Business-day data imports from trading systems
- 2Weekday standup reminder notifications
- 3Deploying config changes only on work days
Linux Crontab Example
0 0 * * 1-5 /app/business-day-import.shAdd this line to your crontab with crontab -e
Need a custom schedule?
Build your own cron expression visually with our generator.
More Weekly Schedules
Runs at midnight every Monday
0 0 * * 1
Runs at midnight every Friday
0 0 * * 5
Runs at midnight on Saturday and Sunday
0 0 * * 0,6
Runs at midnight every Sunday
0 0 * * 0
Runs at midnight every Saturday
0 0 * * 6
Runs at midnight every Tuesday
0 0 * * 2
Runs at midnight every Wednesday
0 0 * * 3
Runs at midnight every Thursday
0 0 * * 4
Runs at 9 AM Monday through Friday
0 9 * * 1-5
Runs at 5 PM Monday through Friday
0 17 * * 1-5
Runs at noon every Tuesday
0 12 * * 2
Runs at 9 AM every Monday
0 9 * * 1
Runs at 5 PM every Friday
0 17 * * 5
Runs at 9 AM every Sunday
0 9 * * 0
Runs at 9 AM every Saturday
0 9 * * 6
Runs at 3 PM every Wednesday
0 15 * * 3
Runs at midnight on Mon, Tue, Wed
0 0 * * 1-3
Runs at midnight on Thu, Fri, Sat
0 0 * * 4-6
Runs hourly 9–17 on weekdays
0 9-17 * * 1-5
Runs at 12 PM Monday through Friday
0 12 * * 1-5
Runs at midnight on Tue and Thu
0 0 * * 2,4
Runs at midnight on Mon, Wed, Fri
0 0 * * 1,3,5
Runs at midnight on Mon and Fri
0 0 * * 1,5
Runs at 12 PM on Sat and Sun
0 12 * * 0,6