Reputation: 169
I have a script but my server on shared hosting times out after 5 minutes, is there a way to continue script after time-out? The script updates my MySQL database. Do run script for some time and stop then continue automatically but not from the start?
Thanks
Upvotes: 0
Views: 693
Reputation: 10467
There is no way to automatically continue script after terminated execution. On shared hosting environments it is common to kill scripts after some time, you should check how long it is allowed to run on your hosting's company wiki / faq. If you want to simulate continuing script execution, you must code it yourself, detecting what has been done and processing only the rest of data.
Upvotes: 1