Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^3: monitor a session

by Riales (Hermit)
on Mar 05, 2012 at 21:29 UTC ( #957975=note: print w/replies, xml ) Need Help??

in reply to Re^2: monitor a session
in thread monitor a session

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

Replies are listed 'Best First'.
Re^4: monitor a session
by efisher911 (Initiate) on Mar 14, 2012 at 21:14 UTC
    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://957975]
Discipulus if thezip is still around can be interested into How to hide/inhibit the console window when launching a Perl script on Windows?
[Corion]: sierpinski: Yes, but I don't want to write Javascript in a more involved way ;)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2017-03-27 19:16 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (321 votes). Check out past polls.