How to check cron logs from cpanel
hello, how can i check cron logs from cpanel. Basically my cronjob function is not working so i think the probable solution for this should be checking the cron log and sorting out errors. Please suggest me if you have any better solution.
Thanks in advance
-
You can check # grep $user /var/log/cron
That will let you know if the crons are firing or not for a specific user. If it is, you can go into cPanel, click on the cronjob icon, then enter in your email address in the first field. Next time it triggers, if its reporting any errors, it should send them to your email.0 -
Hello :) You can not review the cron log in /var/log/cron without root access to the system. I suggest reporting the issue to your web hosting provider so they can take a closer look. Thank you. 0
Please sign in to leave a comment.
Comments
2 comments