Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Continual Execution

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello,

I am trying to read a logfile to send mail notifications when certain entries are made. I want my script to read the file to the end, and continue waiting for new entries to come in. I would like it to run constantly, but have no idea how to do this. Could someone please give me some ideas?

Thanks,

Oister
 
`man tail`
specifically, the '-f' option "If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top