Jump to content

Daily Cron Completing Error


Recommended Posts

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!

 

Link to comment
Share on other sites

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. 

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated