Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ General Discussion _ My cronjob with wget

Posted by: oracle765 Jan 8 2014, 08:17 AM

Hi All

I have a CRONJOB like so which basically tries to download a csv from a website who provide me with the full url

* * * * * /home/oracle765/public_html/scripts/feedimport.sh


Which runs this .SHFILE

/usr/bin/wget -O "/home/oracle765/public_html/feed/crazysales.csv" "http://dashboard.commissionfactory.com.au/Affiliate/Creatives/DataFeeds/jPvRtY22g7Od7pizj7SX5Mai1O$Aspa1hOXb8Yzlm7at4KOk4uyktvrtreLs8qHktLey$bT$9fCjt7m2uvn79YfvluHFssOl2vfSlK6Dfg==/";


Problem is it comes across the $ sign(i think) and cuts part of the url away so i only get a blank CSV file the url above ends up like this one below, I have had a look and it looks
like something to do with the 2 dollar signs not showing the url characters between in between them

---http://dashboard.commissionfactory.com.au/Affiliate/Creatives/DataFeeds/jPvRtY22g7Od7pizj7SX5Mai1OfCjt7m2uvn79YfvluHFssOl2vfSlK6Dfg==/

Hope this make sense
I have put the --- before the http so it does not post as a link
any ideas

thanks in advance

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)