Re: Can I make a process run in background?
| From: | Paul Scott | Date: | Mon, 05 Nov 2007 18:51:02 +0000 |
| Subject: | Re: Can I make a process run in background? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264072@lists.php.net to get a copy of this message | ||
On Mon, 2007-11-05 at 19:20 +0100, Luca Paolella wrote:
> I want the bot to run a process in background (a periodic message,
> for example) while listening for events (like a user joining a
> channel or using a certain command) and consequentially executing the
> corresponding functions, is it possible? and how?
>
You could try this archaic code I wrote a few years back:
http://www.phpclasses.org/browse/package/2837.html
or search for PHP Daemon and get some ideas there.
--Paul