Hello,
I have a site where I download data from one site using cUrl a then generate a image from it, which is stored on the server and displayed on other websites.
I've got everything working perfectly, except from a cron job.
Whenever I run this script it stops after a while (it's more than 30 secs though, more like 2-3 minutes, it's hosted on GoDaddy) which is still not enough. I tried to multi-thread cUrl but it still takes more time than I'm given.
So far the solution for me was manually updating it by specifying limit and offset and reloading like 20 pages every day in browser (I've got about 12000 items to update). This is very annoying as you might imagine.
Only solution I can think of is making several cron jobs, running at 00:01, 00:02, etc. each for like 500 items. But I am not sure I can run that many cron jobs on GoDaddy.
Can anyone give me an advice on this?
Thanks