[Wolves] Help writing a script file

Peter Cannon peter at cannon-linux.co.uk
Thu May 18 15:28:29 BST 2006


On Thursday 18 May 2006 15:12, James Rogers wrote:

> tail -n 10 /var/log/{admin}web.log | mail -s email at address.com
> This is off top of the head but it or something very similar should work
> tail will supply the log name and time

I'll give that a manual go in a sec,

Actually its three logs

/var/lib/simias/log/adminweb.log
/var/lib/simias/log/web.log
/var/lib/simias/log/Simias.log

Cheers James

-- 
Regards
Peter Cannon
FC5 & SuSE10
Jabber:highwayman.turpin at gmail.com
www.cannon-linux.co.uk

"There is every excuse for not knowing
 There is no excuse for not asking"



More information about the Wolves mailing list