Hi I am trying to execute wget locally using cron, I have been told by my hosting that due to a local loopback that this won't work?
I am attempting the following command:
wget -q -O /pathtofile/blah.xml "http://myurl/myfeed.php?id=26"
What I am trying to do here is take the output (rss) and save this on my webserver as xml, the way I have been doing this is to open the url and save the source to xml and upload, so I would like to automate this.
Error text:
--12:38:58-- http://www.myurl.com/mydir/myfeed.php?id=26 => `myfeed.php?id=26' Resolving www.myurl.com... myip Connecting to www.myurl.com|myip|:80... failed: Connection refused.
Is there any thing I can do to achieve this?