Re: [PHP] Re: shedule a php script

2004-06-05 Thread CurlyBraces Technologies \( Pvt \) Ltd
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) { >

[PHP] Re: shedule a php script/ plz help

2004-06-05 Thread CurlyBraces Technologies \( Pvt \) Ltd
> > - Original Message - > From: "Ben Ramsey" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, June 05, 2004 10:07 PM > Subject: [PHP] Re: shedule a php script > > > > If you're on a Unix-like system, add the following at

Re: [PHP] Re: shedule a php script

2004-06-05 Thread Marek Kilimajer
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 fr

Re: [PHP] Re: shedule a php script/ plz help

2004-06-05 Thread Ben Ramsey
2004 10:07 PM Subject: [PHP] Re: shedule a php script If you're on a Unix-like system, add the following at the top of your script: #!/usr/local/bin/php Of course, modify the path to the location of your php binary, since it may not be in the same location. Then, make the file executable wit

[PHP] Re: shedule a php script

2004-06-05 Thread Thomas Seifert
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 ;). thomas On Sat, 5 Jun 2004 21:46:20 +0600 [EMAIL PRO

[PHP] Re: shedule a php script

2004-06-05 Thread Ben Ramsey
If you're on a Unix-like system, add the following at the top of your script: #!/usr/local/bin/php Of course, modify the path to the location of your php binary, since it may not be in the same location. Then, make the file executable with: chmod +x filename.php Then, create a cron job to run