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: NOHUP SQLPLUS

RE: NOHUP SQLPLUS

From: Bellows, Bambi <BBellows_at_usg.com>
Date: Mon, 04 Feb 2002 12:17:58 -0800
Message-ID: <F001.00405546.20020204115603@fatcity.com>

Dick --

You're kidding. If you do

nohup <command> &

it should stay up indefinitely. Nohup stands for "no hang up" which would have been, in the old days if your terminal timed out and the connection was severed over the phone line. Using nohup would guarantee your job ran to completion. The trick is to run it in background. That's what the ampersand does for you.

I've run really long and complicated stuff via nohup and never had a problem. If you have, then I suppose we should say which OSs it worked on and which it didn't. I've run nohup without problem on AIX, HP-UX, SunOS, Solaris, 88Open and Irix.

HTH,
Bambi.

-----Original Message-----
Sent: Monday, February 04, 2002 1:31 PM
To: Multiple recipients of list ORACLE-L

Erik,

    In my experience a nohup will die with your terminal session. Best bet would be to use 'at'.

Dick Goulet

____________________Reply Separator____________________
Author: Erik Williams <ewilliams_at_brownco.com>
Date:       2/4/2002 11:12 AM

I am going to be executing a long running job this weekend from home. I am going to VPN into the corp network and telnet to the server. I am affraid of loosing my telnet terminal session and the job dying mid way through. The plan is to use 'nohup sqlplus system/***** @long_running.sql'. Has anyone used this or run into issues using it? Every time I assume something will 'just work', IT DOESNT!

Thanks
Erik

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Erik Williams
  INET: ewilliams_at_brownco.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).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: dgoulet_at_vicr.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).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Bellows, Bambi
  INET: BBellows_at_usg.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 Mon Feb 04 2002 - 14:17:58 CST

Original text of this message

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