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: DENNIS WILLIAMS <DWILLIAMS_at_LIFETOUCH.COM>
Date: Mon, 04 Feb 2002 12:23:47 -0800
Message-ID: <F001.004055AF.20020204121025@fatcity.com>

Erik - I couldn't live without nohup. I would recommend you issue your command in the form:

nohup sqlplus un/pw @script.sql > file.out 2>&1 &

This will nohup it in case you get knocked off. Both the standard output and standard error will be sent to "file.out". In you SQL script you may want to "set echo on" so you get each command echoed.

One issue to consider is that in some Unix environments all parameters are visible to anyone that does a "ps". If that is a concern, and you don't already have a solution in your environment, there are some well-tested solutions.

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

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: DENNIS WILLIAMS
  INET: DWILLIAMS_at_LIFETOUCH.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:23:47 CST

Original text of this message

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