Alex,

Try using 'expect'.

Homepage:  http://expect.nist.gov/

It's designed for exactly the purpose you have in mind:  trapping responses
from programs that normally operate interactively and don't easily lend
themselves
to automation.

Expect is also available as a Perl module.

http://search.cpan.org/search?dist=Expect


Jared



                                                                                       
                              
                    "Hillman, Alex"                                                    
                              
                    <Alex.Hillman@usmint.       To:     Multiple recipients of list 
ORACLE-L <[EMAIL PROTECTED]>  
                    treas.gov>                  cc:                                    
                              
                    Sent by:                    Subject:     export in cron            
                              
                    [EMAIL PROTECTED]                                                   
                              
                                                                                       
                              
                                                                                       
                              
                    07/06/01 11:31 AM                                                  
                              
                    Please respond to                                                  
                              
                    ORACLE-L                                                           
                              
                                                                                       
                              
                                                                                       
                              




I beleave I asked this question already but did not get any answers.

If I run export from cron and somehow userid is incorrect or dump file name
is incorrect ( let say somebody renamed directory) - process of export is
stopped. Is it possible to catch this situation in the same script that
called export and if not - how to catch it?

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

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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