For the mail part use.......

On this page                  ->
http://www.interlog.com/~tcharron/blat.html
Download and install his file ->
http://www.interlog.com/~tcharron/blat194.zip
To send mail from a *.bat script    -> blat %myfile.log% -subject
"%mysubject%" -to %toaddress% -f %fromaddress%


For the scripting part you can do it all in simple dos bat files (really U
can), perl (use ActivePerl from http://www.activestate.com), or you can do
the Unix thingy by searching Google for Windows ports of Unix commands,
they are easy to find, start here ->
http://www.weihenstephan.de/~syring/win32/UnxUtils.html




                                                                                       
                                                 
                      "Senthil Kumar D"                                                
                                                 
                      <[EMAIL PROTECTED]        To:       Multiple recipients of list 
ORACLE-L <[EMAIL PROTECTED]>                 
                      tworks.com>                 cc:                                  
                                                 
                      Sent by:                    Subject:  Need Script!!              
                                                 
                      [EMAIL PROTECTED]                                                
                                              
                      m                                                                
                                                 
                                                                                       
                                                 
                                                                                       
                                                 
                      07/01/2003 08:19 AM                                              
                                                 
                      Please respond to                                                
                                                 
                      ORACLE-L                                                         
                                                 
                                                                                       
                                                 
                                                                                       
                                                 




Hi Group,

In one of our client place we are having Oracle 8.1.7 (std Ed) on NT.

Here we need to send mails if the DB is down or if the listener is down or
any errors in the alert log is found. In Unix we can use shell scripts and
awk to do this. What about in NT????/

Guru's do you have any scripts to do the same.

Please help me in this.

TIA,
Senthil.

--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Senthil Kumar D
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).





-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to