Or you can add 'set_time_limit(1500)' to the top of your php script.
-----Original Message-----
From: Ross Fleming [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 17, 2001 6:11 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Re: How to make a script run itself ?
Another way of forcing a script to run for longer is change the
max_execution_time in php.ini to a larger value. (My default is 30 seconds)
Ross
-----Original Message-----
From: CJD [mailto:[EMAIL PROTECTED]]
Sent: 16 September 2001 22:02
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: How to make a script run itself ?
I do a similar thing. Sending a message to almost 2,000 people each month
(subscriptions - not spam!) on behalf of a client. I run it on the command
line, and it never times out.
"John Lim" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Check out the at command. It's available in Linux and Windows NT/2000.
You
> can run a php script from the command line using php.exe -q [filename]
>
>
> "Steen rabøl" <[EMAIL PROTECTED]> wrote in message
> 004501c13de1$22f0d8f0$0300000a@srjhp">news:004501c13de1$22f0d8f0$0300000a@srjhp...
> Hi
>
> I need to process some information and mail it to the users of my site
every
> night, and therefore I have made a script to handle the information and
mail
> it, no problem...
>
> But, now I have so many users that the script times-out, the result is
that
> not all users get what they want/need
>
> How can I make a script that keeps running until all information is
> processed ?
>
> Thanks in advance
>
> Steen
>
>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]