Re: Re[2]: [PHP] daemonized php

2003-07-07 Thread Greg Donald
> Ok let be more specific about my idea. Because I'm better php programer > than C I decided to write this in php. I use comandline php. > > I want to write some daemon to be started > > ./myprog & > > Than this has to be run until I cancel it. But I also want to check > somehow, what this proc

Re: Re[2]: [PHP] daemonized php

2003-07-07 Thread Adam Voigt
Umm, have your PHP program output a integer to a file somewhere, and just map the integer to a status, example, if "1" exists in the file, it's doing step 1, etc. On Mon, 2003-07-07 at 09:30, Uros wrote: > Hello, > > ok what about checking status what this program is doing right now. > > can t

Re: Re[2]: [PHP] daemonized php

2003-07-07 Thread Dan Anderson
Remember to http://us4.php.net/manual/en/function.set-time-limit.php That will allow your PHP program to run infinitely long -- and not time out after x seconds. -Dan On Mon, 2003-07-07 at 09:08, Uros wrote: > Hello, > > Ok let be more specific about my idea. Because I'm better php programer