How do I know if a cron job is successful?

Đinh Yến

New member
How do I know if a cron job is successful?
Answer
The simplest way to validate that cron tried to run the job is to simply
check the appropriate log file ; the log files however can be different from system to system. In order to determine which log file contains the cron logs we can simply check the occurrence of the word cron in the log files within /var/log .
 

Tìm kiếm

Back
Top