PID of the spawned process that parses the email will work as well.. but someday you may want to run your program on more than one machine ;-)
Christian Hammers <[EMAIL PROTECTED]> wrote:
Hello
Is it possible to send messages from different programs simultaneously
using only one account?
I'm writing a small email2jabber converter script for Nagios that
pops up a message on all technician's desktops on critical errors.
This works so far using "jabberclass-0.8" (PHP).
But as this program reacts on emails via /etc/aliases, it may happen that
more than one instance gets started simultaneously but only the first one
is allowed to log in, all the others get "connection has been replaced"
error messages.
This account does not need to be visibly online or receive any answers
I just want to (mis)use Jabber to replace the old Samba+Winpopup
solution.
(Of course I could implement it like a single threaded printer-spooler
but maybe there already is a Jabber way of accomplishing it...)
bye,
-christian-
--
Christian Hammers WESTEND GmbH | Internet-Business-Provider
Technik CISCO Systems Partner - Authorized Reseller
Lütticher Straße 10 Tel 0241/701333-11
[EMAIL PROTECTED] D-52064 Aachen Fax 0241/911879
