Mateobus Posted October 7, 2006 Share Posted October 7, 2006 Hello, I have a very complicated script that has many computations involved. I just want to run it once on my server, but it never makes it all the way through. I am not sure why but it keeps timing out, does anyone know what the problem is? Quote Link to comment Share on other sites More sharing options...
printf Posted October 7, 2006 Share Posted October 7, 2006 It could be many different things, one being it takes longer than the set time limit for any script execution. You can control that by setting the time limit to (0)! But that will not help if your script has errors or maybe is stuck in a never ending loop! Anyway to let the script run until it is done use...[code]// place at the top of your script!ignore_user_abort ( 'true' );set_time_limit ( 0 );[/code]me! Quote Link to comment Share on other sites More sharing options...
Mateobus Posted October 7, 2006 Author Share Posted October 7, 2006 this is exactly what i was looking for! i love you printf Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.