Re: Command line timeout
| From: | David Robley | Date: | Tue, 12 Sep 2000 01:53:01 +0000 |
| Subject: | Re: Command line timeout | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16267@lists.php.net to get a copy of this message | ||
On Tue, 12 Sep 2000, Chris wrote:
>
> Hi,
> When running a script using php3 on the shell command line, does it have a time out?
> I need to run a script that may not return for a couple of hours, and I don't want the php
> interpreter to time out on me, or is that not a problem? I am speaking of the linux version
> 3(something), in case there is a difference with that and the win32 version.
> Thanks,
> Chris
>
>
The php executable should read the value in the php3.ini, if any, or use
the default. You can, however reset the timeout within a script using
set_time_limit, providing you don't have safe mode on, (I think). More info
from the docs.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA