crontab.run

Tác vụ Cron Mỗi 12 giờ

0 */12 * * *
phút
giờ
ngày (tháng)
tháng
thứ (tuần)

Vào 0 phút của mỗi tiếng, mỗi 12 tiếng

5 lần chạy tiếp theo

1 
2 
3 
4 
5 

Phân tích từng trường

TrườngGiá trịÝ nghĩa
phút0at minute 0
giờ*/12every 12 hours
ngày (tháng)*any value
tháng*any value
thứ (tuần)*any value

Dòng crontab

0 */12 * * * /path/to/script.sh
Mở trong trình tạo →

The expression 0 */12 * * * schedules a cron job to run mỗi 12 giờ. This schedule belongs to the "Giờ" category and is frequently used for periodic maintenance tasks, report generation, or batch processing that runs several times throughout the day.

Ví dụ liên quan