The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-26-2006
seran128 seran128 is offline
Registered User
  
 

Join Date: May 2006
Posts: 1
automated email on a log event

I am monitoring a logfile using tail -f file.log|"ERROR"

I would like to write a korn script that monitors this for me and emails me if the event happens. It would be great if it attached the file to the email as well.

Any Ideas?