![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Send mail attachments and have a mail body | shibajighosh | AIX | 1 | 04-18-2008 10:54 AM |
| Pull E-mail address from file, send e-mail | DC Heard | Shell Programming and Scripting | 1 | 01-28-2008 11:23 PM |
| mail problems - how to send mail on solaris | amon | SUN Solaris | 10 | 04-06-2006 06:31 AM |
| I am not able to send mail form unix to other mail accounts. | chinnigd | UNIX for Dummies Questions & Answers | 1 | 04-06-2006 05:31 AM |
| can not send mail from unix server to company/yahoo mail | b5fnpct | UNIX for Dummies Questions & Answers | 5 | 11-22-2002 06:24 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
send mail once string is seen
I need to write a script that when it sees the following string in a log file, it emails a group of people
SQLException: ORA-12157: TNS:internal network communication error im a newb to scripting, any ideas would be appreciated |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Just use grep for the string in the log.. if you find it.. send out a mail
|
|
#3
|
|||
|
|||
|
yeah but how do i go about doing that, i also need to only send an email if it's todays date...
|
|
#4
|
|||
|
|||
|
Quote:
|
|
#5
|
|||
|
|||
|
Quote:
|
|
#6
|
|||
|
|||
|
no one.....?
|
|
#7
|
|||
|
|||
|
Hey if you give can give what format the date(say dd-mm-yy or mon-dd-yy) is in the log, then it can be done.
|
|||
| Google The UNIX and Linux Forums |