Cron-job Hver hverdag
0 0 * * 1-5
minut
time
dag (md.)
måned
dag (uge)
Kl 12:00 AM, mandag til og med fredag
Feltopdeling
| Felt | Værdi | Betydning |
|---|---|---|
| minut | 0 | at minute 0 |
| time | 0 | at hour 0:00 |
| dag (md.) | * | any value |
| måned | * | any value |
| dag (uge) | 1-5 | from 1 through 5 |
Crontab-linje
0 0 * * 1-5 /path/to/script.shThe expression 0 0 * * 1-5 schedules a cron job to run hver hverdag. This schedule belongs to the "Dag" category and is a popular choice for daily maintenance routines, backup operations, or recurring tasks tied to specific days of the week.