How do I know if a cron job is executed?

Giang Phạm

New member
How do I know if a cron job is executed?
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