Jump to content

7.1 Cron Issue with new php


Recommended Posts

Hi,

 

Just posting this here as I spent some time trying to solve this.

 

After upgrading I had an issue where cron was running, but the daily automated tasks were not, Automation Overview was all zeros and System Health was alerting me that daily tasks had not run.

 

If I ran cron from the shell, it exited with no errors (RC=0).

 

Eventually I tried running it with the --force option and then I received a php error indicating that it could not find bcmul.

 

Turns out that WHMCS requires the php bcmath module, but does not tell you this anywhere and it is only when you call cron with --force, you see the error.

 

Anyway, if you are having a similar problem, install php-bcmath and you should be OK.

 

Hope this helps someone and WHMCS Devs, if you're reading this, please make php-bcmath a requirement and alert on it in System Health.

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