Re: Can I make a process run in background?

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

 



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

--
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