You are here: Re: Daemonising to continue asynchronously « PHP Programming Language « IT news, forums, messages
Re: Daemonising to continue asynchronously

Posted by fletch on 04/25/06 00:45

> For anyone interested, a working function to become a Daemon (background
> task, unattached from the parent process) from a PHP CLI script is:

<sinp code>

this is useful code but I would like to point out that a daemon should
automatically restart when it dies unexpectedly, and ensure that only
one instance is running, not covering these cases is usally a bad
thing. It depends what the daemon does of course.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация