crontab.run

Tác vụ Cron Mỗi đêm

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

Vào 12:00 AM

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ờ0at hour 0:00
ngày (tháng)*any value
tháng*any value
thứ (tuần)*any value

Dòng crontab

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

The expression 0 0 * * * schedules a cron job to run mỗi đê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.

Ví dụ liên quan