Mishz0r Posted July 6, 2023 Share Posted July 6, 2023 Hello, I hope someone can help me out as im trying to troubleshoot this since couple days but without success. For some reasons, the daily cron completing is not triggering properly. The following crons displays as working Cron Setup Ok Cron Invocation Frequency Ok Daily Cron Run Ok The only thing that is having problems is: Daily Cron Completing The last recorded successful end time is 2023-03-04 05:02:11. Please refer to our troubleshooting guide for details regarding how to identify the problem preventing daily cron completion. Learn more... On my cPanel cron page, I have the following command that runs every 5 mintes, except this, I don't have any other cron commands. */5 * * * * /opt/cpanel/ea-php73/root/usr/bin/php -q /home/xxxx/crons/cron.php I am running PHP 7.3 , I also increased environment variables such as: max exec time: 300, max input time ,600, memory limit 512 mb , double checked to see if the IonCube loader extension, SOAP and XMLRPC extensions are properly installed which they are. for some reasons the Daily Cron completing does not want to trigger at all I kindly ask for your help if someone had the same issues as I do and what would be the workaround for this. Thank you! 0 Quote Link to comment Share on other sites More sharing options...
Mishz0r Posted July 6, 2023 Author Share Posted July 6, 2023 inj the crons directory outside public html i updated the cron permission to 755, i followed some of health status suggestions of whmcs by protecting the configuration.php file I also checked the configurations for crons to make sure the proper website path in place, please advise what could be the problem as I don't even know what else to do for troubleshooting this and making it work properly. 0 Quote Link to comment Share on other sites More sharing options...
Mishz0r Posted July 9, 2023 Author Share Posted July 9, 2023 Good day People, I'd like to request to an moderator/admin to delete this thread as the issue has been fixed. thanks 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted July 13, 2023 Share Posted July 13, 2023 @Mishz0r As outlined in our community guideline, we do not allow the deletion of content this is to ensure that other users are able to benefit from the solutions you have found Please update this post with how you managed to resolve your issue. 0 Quote Link to comment Share on other sites More sharing options...
Mishz0r Posted July 13, 2023 Author Share Posted July 13, 2023 15 minutes ago, WHMCS ChrisD said: @Mishz0r As outlined in our community guideline, we do not allow the deletion of content this is to ensure that other users are able to benefit from the solutions you have found Please update this post with how you managed to resolve your issue. Hello and thanks for your reply, For some reasons, WHMCS was using the inherited PHP values defined from WHM, I am using PHP 7.3 and even if the values were updated in cPanel, i was having some memory allocation issues in the error log. As for the cron jobs, there were no errors present in debugger, the only thing I did was to review the environment variables, update them via WHM and performed a server restart. The cron is scheduled to run every 5 minutes according to your cms suggestions. 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.