Hi there,
One of my CRON jobs appears to be timing out. I assume this occurs because I receive an email on completion of the script, even though I know the script has not completed
Basically the script downloads approx. 350 '.csv' files and the script has sufficient pauses in it so as not to hammer away at the servers. I estimate the minimum time it should take to do this is 40 minutes but I receive the 'completion' email from CRON within only a matter of minutes from the script scheduled start time.
Yes, I have set 'set_timeout_limit(3000)'.
Because I'm on free hosting am I limited on script execution time regardless of whether I set 'set_timeout_limit' in the script ? If so what are the limits and what hosting package will remove this time limit ?
If that's not the reason why my script is ending too soon any suggestions would be most welcome.
Many thanks,
Web
One of my CRON jobs appears to be timing out. I assume this occurs because I receive an email on completion of the script, even though I know the script has not completed
Basically the script downloads approx. 350 '.csv' files and the script has sufficient pauses in it so as not to hammer away at the servers. I estimate the minimum time it should take to do this is 40 minutes but I receive the 'completion' email from CRON within only a matter of minutes from the script scheduled start time.
Yes, I have set 'set_timeout_limit(3000)'.
Because I'm on free hosting am I limited on script execution time regardless of whether I set 'set_timeout_limit' in the script ? If so what are the limits and what hosting package will remove this time limit ?
If that's not the reason why my script is ending too soon any suggestions would be most welcome.
Many thanks,
Web