Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: monitor a session

by Riales (Hermit)
on Feb 29, 2012 at 22:52 UTC ( #957047=note: print w/ replies, xml ) Need Help??

in reply to monitor a session

Which part do you need help with? Emailing a message? Or determining that the server has sent an alert?

For the former, I'd take a look at the Email::Send module.

The latter depends on how the server is currently sending messages to your terminal...

Comment on Re: monitor a session
Replies are listed 'Best First'.
Re^2: monitor a session
by efisher911 (Initiate) on Mar 05, 2012 at 21:02 UTC
    More that the Server is sending the message to the terminal. I've seen the email scripts around.
      To me, the easiest way to go about this seems to be to find whatever script is outputting the messages you want to capture and have it do the emailing instead of just printing to STDOUT. I can't think of a good way to 'listen' for an event like that in a terminal...
        I know the program that is doing the sending but I cant edit it.. I also have to have the message sent to the terminal so someone can see it but also see the message and email it. This is so someone doesn't have to stand in front of the terminal and wait for messages.. it would be emailed to a iPod touch or some such.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://957047]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2015-11-25 18:00 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (684 votes), past polls