I am trying to run a scheduled task on my hosting company's control panel. You can select the frequency from dropdowns and I am trying to execute this line: curl --user loginass http://www.swindoner.co.uk/wp-content/update-feeds.php -d update=quiet I have tried it with and without the --user loginass values. I get a: curl: (7) cannot connect error, which I've searched on Google for, but not found a greate deal. Can anyone shed any light on this for me pleasE?
You have to check with your provider whether they allows outbound connection to port 80 This is what I am getting on my local server.
Well, seems making connections is disabled. Generally login isn't needed by curl. Have you tried to confirm if thats the problem by: wget > /dev/null OR lynx [url] > /dev/null