Forum Moderators: phranque
I think this is relatively easy but I'm not quite sure how to do it.
There's a datafeed I'd like to download and save on my server every 30 minutes. I can setup the cronjob via cpanel no problem, but I'm unsure of what command I need to tell it to download and save the datafeed.
Some thing like "Copy [site.com...] datafeed.txt"
Any ideas on the correct way to do this?
One option I was thinking of is making a php script that downloads the file, and then the cronjob calls that script every 30 minutes or something. Is that the better way to do it?
Thanks for the help!