Jump to content

Cron Job Half Working


Recommended Posts

I'm having a major issue with my Cron Job, it's only executing half the tasks it is meant to. This has been happening since I moved web servers.


These are the tasks the Activity Log shows (reverse order):


Cron Job: Generating Invoices

Cron Job: Updating Product Pricing for Current Exchange Rates

Cron Job: Updating Currency Exchange Rates

Cron Job: Starting


It creates all the invoices correctly and then does nothing else. Last week it would suspend clients as well but now that seems to have stopped as well.


I also don't get the Cron Job email and anything else. Here's the major things that it's not doing: Close tickets after 48 hours, Terminate products/services, Update affiliate balances, Send monthly affiliate email and Send the Cron Job admin email.


It used to do everything before I moved web server, now it seems to crash after generating invoices. This has been happening with WHMCS 5 and the previous versions. I haven't changed anything to do with the Cron Job since it was working.


All help is greatly appreciated, thank you.

Link to comment
Share on other sites

My host doesn't allow the memory_limit to be higher than 128M. I'm pretty certain after looking into it more that this is the issue. Is there anything else I can do without moving hosts?


Could I not run the cron job on a seperate web server?

Edited by Jonnerz
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.

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