Re: Can I make a process run in background?
| From: | Per Jessen | Date: | Tue, 06 Nov 2007 10:12:05 +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-264097@lists.php.net to get a copy of this message | ||
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?
Write a PHP CLI script, then append '&' to detach when you start it.
/Per Jessen, Zürich