Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: export in cron

Re: export in cron

From: <Jared.Still_at_radisys.com>
Date: Fri, 06 Jul 2001 11:46:25 -0700
Message-ID: <F001.00343619.20010706115603@fatcity.com>

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_at_usmint.       To:     Multiple recipients of list 
ORACLE-L <ORACLE-L_at_fatcity.com>  
                    treas.gov>                  cc:                                    
                              
                    Sent by:                    Subject:     export in cron            
                              
                    root_at_fatcity.com                                                   
                              
                                                                                       
                              
                                                                                       
                              
                    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: Alex.Hillman_at_usmint.treas.gov

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: 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Jared.Still_at_radisys.com 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: 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 Jul 06 2001 - 13:46:25 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US