RE: [PHP-WIN] Re: How to make a script run itself ?

From: Date: Mon, 17 Sep 2001 14:21:15 +0000
Subject: RE: [PHP-WIN] Re: How to make a script run itself ?
Groups: php.windows 
Request: Send a blank email to php-windows+get-9382@lists.php.net to get a copy of this message
Or you can add 'set_time_limit(1500)' to the top of your php script. -----Original Message----- From: Ross Fleming [mailto:r.fleming@totalise.co.uk] Sent: Monday, September 17, 2001 6:11 AM To: php-windows@lists.php.net 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:CJD@atmosphere_dot_co_dot_nz_.php.net] Sent: 16 September 2001 22:02 To: php-windows@lists.php.net 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" <jlim@natsoft.com.my> wrote in message news:20010916052715.41926.qmail@pb1.pair.com... > 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" <srabol@mail.tele.dk> wrote in message > 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: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#9382) next »