Jump to content

WHMCS Cron email not getting it anymore? Since 2 days ago!


Hannan

Recommended Posts

Hi,

Since 2 days ago we are not getting the WHMCS Cron emails. However, as I can see the results. Suspension/termination/charges. It still does it job but not getting the email. The only thing we have touched is Apache that may affect on this. The website was going down for no reason so we had to change few things on Apache.

Please advise?

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi @Hannan,

Please begin your troubleshooting by reviewing Utilities > Logs > Activity Log and ensure you see a number of entries beginning "Cron Job" and "Automated Task" each day. The final entry every day should be "Cron Job: Completed Daily Automation Tasks".

* If you see no Cron Job entries at-all this means you have not configured your automation cron correctly, you must do this per our installation instructions. The relevant documentation can be found at http://docs.whmcs.com/Crons

* If you see some Cron Job entries but none after "Automated Task: Starting Server Usage Stats" your cron is getting stuck at the Usage Stats Update stage. The most likely cause of this error is that you have an old server in Setup > Servers that is no longer available.
To resolve this, you should update or remove any inactive or offline servers from Setup > Servers so that they can all be connected to successfully. Or alternatively Update Usage Statistics can be disabled under Setup > Automation Settings.

* Finally, if you see some Cron Job entries but no "Cron Job: Completed Daily Automation Tasks" entry this suggests the cron is being terminated prematurely by your server. Please increase the memory_limit and max_execution_time settings in your server's php.ini to 64M or 128MB which should easily be sufficient. Then see if things improve and you start getting the cron job report again over the next few days.

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