How to check cron logs from cpanel

yeasirh

Registered
Oct 7, 2015
1
0
1
Dhaka, Bangladesh
cPanel Access Level
Website Owner
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
 

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
806
156
168
New Jersey
cPanel Access Level
DataCenter Provider
You can check
Code:
# 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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
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.