Jim Lucas wrote: > Does anybody know how to use PHP as a daemon without the use of > pcntl_fork. > Sure. Just start it and leave it running. > I want to launch a daemon out of the /etc/rc.local when the system > starts. Yep, I do that all the time. > Anybody have any idea on how to do this? On an openSUSE system I would just use 'startproc', but elsewhere you could use setsid or nohup. I.e. create your CLI script with a hash-bang, then start it nohup <script> 2>&1 1>/dev/null & /Per -- Per Jessen, Zürich (21.6°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php