Tugas Cron Setiap 2 menit
*/2 * * * *
menit
jam
hari (bln)
bulan
hari (mgg)
Setiap 2 menit
Rincian bidang
| Bidang | Nilai | Arti |
|---|---|---|
| menit | */2 | every 2 minutes |
| jam | * | any value |
| hari (bln) | * | any value |
| bulan | * | any value |
| hari (mgg) | * | any value |
Baris crontab
*/2 * * * * /path/to/script.shThe expression */2 * * * * schedules a cron job to run setiap 2 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.