Tác vụ Cron Mỗi thứ Năm
0 0 * * 4
phút
giờ
ngày (tháng)
tháng
thứ (tuần)
Vào 12:00 AM, chỉ trên Thứ 5
Phân tích từng trường
| Trường | Giá trị | Ý nghĩa |
|---|---|---|
| phút | 0 | at minute 0 |
| giờ | 0 | at hour 0:00 |
| ngày (tháng) | * | any value |
| tháng | * | any value |
| thứ (tuần) | 4 | on Thursday |
Dòng crontab
0 0 * * 4 /path/to/script.shThe expression 0 0 * * 4 schedules a cron job to run mỗi thứ năm. This schedule belongs to the "Ngày" category and is a popular choice for daily maintenance routines, backup operations, or recurring tasks tied to specific days of the week.