Jump to content

Cron Job problems in 3.8.1


zoilodiaz

Recommended Posts

  • 1 month later...

So what's the issue here? Before telling people to up their memory/execution limits - I really do advise everyone to actually goto their cron via a browser (aka http://www.mydomain.com/whmcs/admin/cron.php) and making sure it does error out.

 

It doesn't on my system.

 

I even created a "stub" php file called cron_starter.php with

ini_set('memory_limit', '256M');

ini_set('max_execution_time', '300');

require ('cron.php');

in it - to obviously increase memory and execution time (this is just another way of doing it if you don't have access to change settings via .htaccess in places of SuPHP etc) - same thing. File finished doing what it was doing, but no cron email.

 

Email IS working on the system. Support tickets still generate, and I sent myself multiple test emails like client reminder details etc.

 

Still no one knows this solution? This didn't happen for me until 3.8.2.

 

Opening a ticket.....

Link to comment
Share on other sites

Strange - but works for me.

 

After contacting Andrew from WHMCS (thanks for putting up with me) - this was strangely the conclusion.

 

We use configserver firewall on our servers (cause it's awesome). Anyway, for whatever reason, restarting the firewall was not enough to fix the issue of not being able to connect to other servers. (Starting creating accounts for other servers and it didn't work).

 

Anyway, disabling the firewall, and then reactivating the firewall (not just restarting it) fixed the issue. So maybe something was not restarting properly or... who cares - works for me I'm happy.

#Disable CSF
csf -x
#Enable CSF
csf -e

 

Very happy again. :-)

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

I have 3.8.1 and I had this same problem. I noticed that one of my Plesk servers in the Configuration -> Servers had lost it's IP addr, and login info (maybe since I've added another server in the list a few weeks ago, which is when the Cron job emails stopped), so, I re-entered the login info and the Cron job runs fine now.

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