alright , thank u very much, i successfully run with that while loop . it is working. so thank u , very much
curlys ----- Original Message ----- From: "Marek Kilimajer" <[EMAIL PROTECTED]> To: "Thomas Seifert" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, June 05, 2004 10:49 PM Subject: Re: [PHP] Re: shedule a php script > Thomas Seifert wrote: > > I would recommend the cronjob too but if you want to just keep the script running, do a while-loop around your code, i.e. > > > > while(1) { > > ... your code > > > > sleep(120); // sleep 120 seconds > > } > > > > --- > > the require should be outside of the loop IMHO ;). > > > > Or if you want to run the script from the browser, use meta-refresh, see > "Refresh Page" thread on this list. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php