Zadanie Cron Zakres godzin
0 9-17 * * *
minuta
godzina
dzień (miesiąc)
miesiąc
dzień (tydzień)
Co godzinę, od 09:00 AM do 05:00 PM
Rozbicie pól
| Pole | Wartość | Znaczenie |
|---|---|---|
| minuta | 0 | at minute 0 |
| godzina | 9-17 | from 9 through 17 |
| dzień (miesiąc) | * | any value |
| miesiąc | * | any value |
| dzień (tydzień) | * | any value |
Linia crontab
0 9-17 * * * /path/to/script.shThe expression 0 9-17 * * * schedules a cron job to run zakres godzin. This schedule belongs to the "Godzina" category and is frequently used for periodic maintenance tasks, report generation, or batch processing that runs several times throughout the day.