[WBEL-users] setting mail to relay

Vic whitebox at beer.org.uk
Mon Mar 21 01:30:23 CST 2005


> 0 2 * * * /usr/sbin/tripwire -m c > /etc/tripwire/report.txt | mail -s
> "Web Report" me at email.com

I think you need to tee that to get two "destinations" for your report :

0 2 * * * /usr/sbin/tripwire -m c | tee /etc/tripwire/report.txt | mail -s
"Web Report" me at email.com

N.B. I haven't tested this!

HTH

Vic.



More information about the Whitebox-users mailing list