งาน Cron ทุก 30 นาที
*/30 * * * *
นาที
ชั่วโมง
วัน (เดือน)
เดือน
วัน (สัปดาห์)
ทุกๆ 30 นาที
รายละเอียดฟิลด์
| ฟิลด์ | ค่า | ความหมาย |
|---|---|---|
| นาที | */30 | every 30 minutes |
| ชั่วโมง | * | any value |
| วัน (เดือน) | * | any value |
| เดือน | * | any value |
| วัน (สัปดาห์) | * | any value |
บรรทัด crontab
*/30 * * * * /path/to/script.shThe expression */30 * * * * schedules a cron job to run ทุก 30 นาที. This schedule belongs to the "นาที" category and is commonly used for high-frequency monitoring, health checks, or data synchronization tasks that need to run multiple times per hour.