Re: Run a script for 20minutes
| From: | Ankur Verma | Date: | Tue, 13 Feb 2001 05:38:55 +0000 |
| Subject: | Re: Run a script for 20minutes | ||
| References: | 1 | Groups: | php.general php.windows |
| Request: | Send a blank email to php-general+get-39353@lists.php.net to get a copy of this message | ||
you can set the maximum execution timeu using either the
max_execution_time = 30 ; Maximum execution time of each script, in
seconds
setting in php.ini
or can set it at runtime for a script using the set_time_limit() function
check the php manual for more details.
hope that helps
Ankur Verma
HCL Technologies
A1CD, Sec -16
Noida, UP
India
----- Original Message -----
From: "Martin E. Koss" <mek@mek.co.uk>
To: <php-windows@lists.php.net>; <php-general@lists.php.net>
Sent: Monday, February 12, 2001 5:20 PM
Subject: [PHP] Run a script for 20minutes
> Hi,
> I have PHP3 and MySQL on Win98 and am trying to run a script that loops
> through a file making process and it needs about 20 - 30 minutes to run.
It
> generates static HTML files based on content in a database. I've increased
> Internet Explorer's timeout to allow for this but for some reason only
about
> half the processing is done before everything seems to just stop.
>
> Does anyone know of a very basic way of executing a PHP script on a Win98
> machine without the need for a browser? Or, another way of running this
> script that will take some time and create some 22,000 files through the
> process.
>
> Thanks,
>
> Martin.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net