Tugas Cron Setiap 5 menit
*/5 * * * *
menit
jam
hari (bln)
bulan
hari (mgg)
Setiap 5 menit
Rincian bidang
| Bidang | Nilai | Arti |
|---|---|---|
| menit | */5 | every 5 minutes |
| jam | * | any value |
| hari (bln) | * | any value |
| bulan | * | any value |
| hari (mgg) | * | any value |
Baris crontab
*/5 * * * * /path/to/script.shThe expression */5 * * * * schedules a cron job to run setiap 5 menit. This schedule belongs to the "Menit" category and is commonly used for high-frequency monitoring, health checks, or data synchronization tasks that need to run multiple times per hour.