Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: how to send mail from windows command prompt?
Yes, doing this all the time, all in a Dos window,
Use 'find' to search through your log files, extracting the lines you want to another file, which you can mail to yourself. eg:
find /N "ORA-00001" G:\dos_work\work.log > G:\dos_work\pk_violate.txt
I use a simple dos mail utility called Postie (http://www.ozemail.com.au/~adavison) - been using it for ages, when it was free. Now I think its $25.
peter
edinburgh
> -----Original Message-----
> From: Murali_Pavuloori/Claritas_at_claritas.com
> [mailto:Murali_Pavuloori/Claritas_at_claritas.com]
> Sent: Thursday, October 02, 2003 11:15 PM
> To: Multiple recipients of list ORACLE-L
> Subject: how to send mail from windows command prompt?
>
>
>
> Hello All:
>
> I have setup some scripts that would export the db every day.
> Instead of
> looking through the logs manually every morning, is there a
> way to tail
> (windoze equivalent?) the file and send and email (mailx equivalent on
> windows?) I know this can be implemented in Perl, but I don't
> know perl so
> I am looking for help on Windoze...PLEASE!
>
> I really appreciate your help in this matter.
>
> Thanks,
> Murali.
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author:
> INET: Murali_Pavuloori/Claritas_at_claritas.com
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
BGS. . http://www.bgs.ac.uk *********************************************************************
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Robson, Peter INET: pgro_at_bgs.ac.uk Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Fri Oct 03 2003 - 04:14:25 CDT