Mode command like the following: grep "script.php" /path/file.ext For example, the following command is from. /Var/log/cron.log Is there a cron task to perform detection cronscript.php script file
1 grep "cronscript.php" /var/log/cron
Press Enter and then will output like this:
1 Feb 24 02:33:02 ecbiz108 crond[9772]: (userna5) CMD (php -q /home/userna5/public_html/cronscript.php) 2 Feb 25 02:33:01 ecbiz108 crond[16587]: (userna5) CMD (php -q /home/userna5/public_html/cronscript.php) 3 Feb 25 11:45:01 ecbiz108 crond[21887]: (userna5) CMD (php -q /home/userna5/public_html/cronscript.php)
We examine the output, you will see the implementation of the specific time cron