![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Copying files and emailing them out | jhofilena | Shell Programming and Scripting | 1 | 12-18-2007 01:23 AM |
| Monitoring a directory for new files with .xx and executing command if found | krkan | Shell Programming and Scripting | 4 | 03-14-2006 11:16 PM |
| monitoring files copied onto hard disk | abhi_abhijith | High Level Programming | 2 | 02-15-2006 10:51 AM |
| SMTP - emailing issue | tads98 | UNIX for Dummies Questions & Answers | 3 | 07-18-2005 08:32 AM |
| Perl - Emailing MULTIPLE files as attachment | Tonka52 | Shell Programming and Scripting | 3 | 02-11-2004 01:19 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Monitoring & emailing log files
Hi
..first post ! I have a Unix v445 using solaris 10. I've trolled through various web pages but can't find exactly what I'm looking for. I have an alert log...or any messages file for that matter I need to check for certain key (error type) phrases - if I find them, they are redirected to a file and emailed to a distribution list. I want to execute this script as a cron job running every hour. The next time the cron job runs, rather than running from the top again & thus possibly duplicating the same errors, I need a seperate file that shows the linecount from the previous check.....this new check starts its checking from the linecount to the end of the file......the new line count replaces the previous one and so on Do I need to have a 'collector' that holds the words/phrases I'm looking for ? _________________ Can anyone help ? Many thanks David |
| Bookmarks |
| Tags |
| solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|