Cron Jobs stopped working - URGENT

Discussion in 'Free Hosting' started by btlclanx, Nov 17, 2013.

  1. btlclanx

    btlclanx Member

    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    My cron job has recently stopped working however I have made no change to anything!! Can support please take a look this is urgent!
     
  2. btlclanx

    btlclanx Member

    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
  3. mafiaga4

    mafiaga4 Member

    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    how are you logging into cpanel?
     
  4. btlclanx

    btlclanx Member

    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    I can't access the x10hosting site:

    [​IMG]

    PLEASE CAN SUPPORT GET THEIR SERVERS SORTED!

    I will not be ordering premium with this kind of service!!
     
    • Dislike Dislike x 1
  5. mafiaga4

    mafiaga4 Member

    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    its been like that the whole day...
     
  6. btlclanx

    btlclanx Member

    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    I am now able to get into cPannel now what?
     
  7. btlclanx

    btlclanx Member

    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    HELP NEEDED!! STILL NOT WORKING!!
     
  8. crimeci6

    crimeci6 New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    my crons don't work either
     
  9. Anna

    Anna I am just me Staff Member

    Messages:
    8,504
    Likes Received:
    262
    Trophy Points:
    83
    Crons should now be working properly, please confirm when possible.
    You do not currently have any crons set.
     
  10. fit4school49

    fit4school49 New Member

    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Mine aren't working as well. I added a new one as of December 8th. The new one is working, but all the others aren't executed.

    Thanks for your help
     
  11. Bryon

    Bryon I Fix Things

    Messages:
    8,149
    Likes Received:
    101
    Trophy Points:
    48
    Hi, I believe I've located the cause of the issue with web requests from the local server back to itself, and that the problem is now resolved. Please let me know if this is not the case or if the problem returns.
     
  12. fit4school49

    fit4school49 New Member

    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Cron jobs started working again as of today.
    Thx a bunch
     
  13. fit4school49

    fit4school49 New Member

    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Just noticed that some of the jobs don't get executed sometimes. Any updates on this?
     
  14. fit4school49

    fit4school49 New Member

    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Actually they worked perfectly for quite a while now – then all of a sudden they all stopped working. After Bryon's intervention some of them started working again, not all though.

    That I have. That's why I know which are working and which aren't. Doesn't help much though.
     
  15. descalzo

    descalzo Grim Squeaker Community Support

    Messages:
    9,375
    Likes Received:
    327
    Trophy Points:
    83
    Do you log the error output too?
    Are they all on the same account?
    Have you checked cPanel to see if they are still listed?
    Is there a pattern to which ones do not run?
     
  16. fit4school49

    fit4school49 New Member

    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Which error output? php?
    All of the same account, still listed in cPanel.
    My guess is that curl isn't working properly anymore. The cron jobs that call a curl to one of my php scripts with GET-arguments don't work on a regular basis.
     
  17. descalzo

    descalzo Grim Squeaker Community Support

    Messages:
    9,375
    Likes Received:
    327
    Trophy Points:
    83
    Cron job listing:

    Code:
    /usr/bin/php -q  /home/igor/public_html/test/test.php >>/home/igor/public_html/test/test_log.txt 2>&1
    Any output from test.php is logged and any errors, such as file not found (you mistyped the script name), etc.
    Make sure you do not suppress error reporting in your script.
     
  18. fit4school49

    fit4school49 New Member

    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Thanks, I've changed it. I don't think that there's something wrong with the cron command per se, since it has all been working perfectly before. The log file confirms that the curl commands fail to execute, I always get
    Code:
      % Total    % Received % Xferd  Average Speed  Time    Time    Time  Current
                                    Dload  Upload  Total  Spent    Left  Speed
    
      0    0    0    0    0    0      0      0 --:--:-- --:--:-- --:--:--    0
    curl: (56) Failure when receiving data from the peer
    So I changed the 'curl' to a 'wget -qO-' and first I only got
    Code:
    HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
    Retrying.
    
    But now it seems to work pretty well, I'll let it run for a while and let you know if it's stable or not.

    Edit: Sometimes, it can't establish a connection after 20 retries and ends with a "Giving up."
     
    Last edited: Dec 23, 2013

Share This Page