Cron-job Hver tirsdag
0 0 * * 2
minut
time
dag (md.)
måned
dag (uge)
Kl 12:00 AM, på enhver tirsdag
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) | 2 | on Tuesday |
Crontab-linje
0 0 * * 2 /path/to/script.shThe expression 0 0 * * 2 schedules a cron job to run hver tirsdag. 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.