Re: background process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



mbneto wrote:
> I'd like to create a script that will act as a daemon.
>
> Now I simply add while() { .... do stuff }
>
> But this forces me to call it script.php &.  Is there a way to make
> this work without the &

You're probably better off using & when calling it, but:
http://php.net/pcntl_fork
and friends could do what you think you want...

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux