Cron job Every weekday
0 0 * * 1-5
minute
hour
day (month)
month
day (week)
At 12:00 AM, Monday through Friday
Field breakdown
| Field | Value | Meaning |
|---|---|---|
| minute | 0 | at minute 0 |
| hour | 0 | at hour 0:00 |
| day (month) | * | any value |
| month | * | any value |
| day (week) | 1-5 | from 1 through 5 |
Crontab line
0 0 * * 1-5 /path/to/script.shThe expression 0 0 * * 1-5 schedules a cron job to run every weekday. This schedule belongs to the "Day" category and is a popular choice for daily maintenance routines, backup operations, or recurring tasks tied to specific days of the week.