Re: Question about executing PHP script

From: Date: Mon, 28 Jun 2004 23:48:42 +0000
Subject: Re: Question about executing PHP script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-189198@lists.php.net to get a copy of this message
Charlie Don wrote:
Hello, I need to have some scripts that do database maintanance on my cron tab. However, some might take more time to execute that the maxtime set on php.ini. These are now web scripts but scripts that I execute on my command prompt or cron tab. I wonder if there is any way to have on the first line of the script that calls the php engine an option that does not end the script if it exceeds the maximum executin time. Thanks, C.
Searching on Google for something like 'php max execution time' should land you on the correct manual page fairly quickly. To wit: http://www.php.net/set_time_limit Hope this helps, Torben

« previous php.general (#189198) next »