drifterlrsc

Registered
Nov 25, 2006
3
0
151
where can I find error logs for cron jobs I set up in my cpanel?

I have a script that runs in a browser, but as cron it never reaches the end and emails me OR makes my record in the DB of what happens. It just stops. I am assuming an error, but I look in the error log in my CPanel and see nothing.

Thanks
Scott
 

mickalo

Well-Known Member
Apr 16, 2002
782
5
318
N.W. Iowa
where can I find error logs for cron jobs I set up in my cpanel?

I have a script that runs in a browser, but as cron it never reaches the end and emails me OR makes my record in the DB of what happens. It just stops. I am assuming an error, but I look in the error log in my CPanel and see nothing.

Thanks
Scott
check the log file: /var/log/cron or possibly the /var/log/messages

mickalo
 

adept2003

Well-Known Member
Aug 11, 2003
281
0
166
~ "/(extra|special)/data"
I have a script that runs in a browser, but as cron it never reaches the end and emails me OR makes my record in the DB of what happens. It just stops.
Either that, or maybe it doesn't even start... try running the command via SSH & see what the output is.

Maybe the cron is running, but never stops? Might be worth checking the currently running processes to ensure you haven't got an infinite loop happening.