monsterit Posted November 1, 2018 Share Posted November 1, 2018 HI All, It appears the cron is not running after we moved servers. We are running ubuntu 16.04 with php 7.1 (though the output on php -v says 7.2 even though its removed). Our Cron is php -q /home/*****/******/crons/cron.php set at a interval of every 5 mins. I am not getting any error logs or anything on the system :( it appears the system thinks its running fine but i'm getting this on the dashboard warning. System Cron Tasks The system cron does not appear to have completed successfully within the last 24 hours. Check your activity logs or learn more about enabling the cron in our documentation. Any help would be great please. 0 Quote Link to comment Share on other sites More sharing options...
Vox Posted November 3, 2018 Share Posted November 3, 2018 Hi @monsterit, Try going through the troubleshooting guide here: http://help.whmcs.com/m/automation/c/195647 0 Quote Link to comment Share on other sites More sharing options...
monsterit Posted November 5, 2018 Author Share Posted November 5, 2018 Hi, Yeah it didn't work so i upgraded to 7.2 and completly removed 7.1 then changed the cli/php.ini file and it seemed to be working now. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted November 5, 2018 Share Posted November 5, 2018 @monsterit what happens if you enable display & log errors under Setup > General Settings > Other then login to your server terminal window and run php -q /home/*****/******/crons/cron.php -F all -vvv 0 Quote Link to comment Share on other sites More sharing options...
monsterit Posted November 5, 2018 Author Share Posted November 5, 2018 No errors at all. Found the issue when installing the php 7.1 it installed php 7.2 on cli only. So user error when configuring the new server. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.