Tugas Cron Setiap jam genap
0 */2 * * *
menit
jam
hari (bln)
bulan
hari (mgg)
Pada 0 menit melewati jam, setiap 2 jam
Rincian bidang
| Bidang | Nilai | Arti |
|---|---|---|
| menit | 0 | at minute 0 |
| jam | */2 | every 2 hours |
| hari (bln) | * | any value |
| bulan | * | any value |
| hari (mgg) | * | any value |
Baris crontab
0 */2 * * * /path/to/script.shThe expression 0 */2 * * * schedules a cron job to run setiap jam genap. This schedule belongs to the "Jam" category and is frequently used for periodic maintenance tasks, report generation, or batch processing that runs several times throughout the day.