![]() |
WHMCS CRON problem
Hello
I have been using litespeed since about an year without any problem. Recently I moved my whmcs domain to the litespeed powered server, and found that the cron job is getting timed out. There is a cron job which executes "cron.php" file every day. When I executed manually, after several seconds it says "503 Service Unavalilable" Is it related to php.ini max_exe_ time ? |
how are you running the cron?
|
I use cPanel.
I can see the cron at /var/spool/cron It is timing out, so I tried manually opening the cron php file thru browser. |
No, I meant what does the cron command line look like?
php /path/to/something.php or cur http://www.xxx.com/something.php or what? |
Getting 503 error usually means that your PHP binary may crashed for some reason. please check error_log and stderr.log for any hint.
|
Once again I did it.
It returned 503 Service Unavailable error error_log is empty, however Code:
root@core2quad2 [/etc/httpd/logs]# tail -f stderr.log |
Can you post the command line that your cron is running?
|
| All times are GMT -7. The time now is 06:17 PM. |