[plug] Jabber and system status

Craig Ringer craig at postnewspapers.com.au
Mon Jul 28 05:38:04 WST 2003


> If anyone has ideas of how to set this up please tell me.

All you'd need would be a jabber client that can send msgs via the 
command line, and a shell script run from cron - yes? If you're looking 
to redirect messages already sent by cron, that's a bit harder. There's 
an ugly hack that comes to mind, though. Make a script called 'mail' and 
make sure the PATH of cron's environment places it before the real mail 
binary. That script would read stdin to a buffer then send a jabber 
message once cron finished sending log data. Sound reasonable? I think 
it's horrible, but it might just work...

Try freshmeat.net and see if you can find a suitable client.

Craig Ringer




More information about the plug mailing list