> 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
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
Hello,
ok what about checking status what this program is doing right now.
can this be done with
http://www.php.net/manual/en/ref.pcntl.php
tia
Uros
Monday, July 7, 2003, 3:16:35 PM, you wrote:
AV> #!/usr/local/bin/php -q
AV> set_time_limit(0);
AV> while(true)
AV>
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
Hello,
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 proces is doing
5 matches
Mail list logo