Re: Can I make a process run in background?

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

 



On Tue, 2007-11-06 at 18:05 +0100, Luca Paolella wrote:
> Hi,
> 
> I'm very grateful for your help (thanks to everybody!), but maybe I  
> didn't explain myself correctly, I'm sorry. What I need is the bot to  
> log onto the server and, being logged as a user, to send some  
> periodic messages on a channel (<Bot> Hello!) while listening for  
> events and reacting consequentially (<User> !say Hi <Bot> Hi), so  
> running two parallel scripts that connect separately won't do. A  
> friend of mine suggested me a solution: he said that maybe two php  
> scripts could "share" the same connection to the irc server so that  
> while the first one processes the events, the second one acts in  
> background, is it possible?
> The script already runs via terminal, anyway, on Linux (Debian)

This can be done quite easily using shared memory and/or a database to
share data between the scripts.

Cheers,
Rob.
-- 
...........................................................
SwarmBuy.com - http://www.swarmbuy.com

    Leveraging the buying power of the masses!
...........................................................

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