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 jobs

RE: nohup jobs

From: Thater, William <William.Thater_at_carrier.utc.com>
Date: Tue, 3 Feb 2004 08:12:37 -0500
Message-ID: <590E1FF8B6A4D4118CB200508B63D23E0AE0681F@carussyrmb01.carrier.utc.com>


Kommareddy, Srinivas (MED, Wissen Infotech) scribbled on the wall in glitter crayon:

> Hi,
>
> But still my rcp is running.

that's just what it should be doing. like Rachel said, you submitted it to the background with the "&" at the end of the command line. so it runs in the background. the problem is you *ALSO* submitted the nohup job to the background with the "&" at the end it *IT'S* command line. so it goes like this:

--nohup job starts in the background
--it submits the rcp job in the background
--rcp job returns control to the nohup job
--nohup job is done [it submitted the rcp job and got control back]
--it returns "Done" and control to the foreground process.

to have the nohup job run until the rcp job finishes you have to either: 1) remove the "&" from the end of the nohup command line or
2) remove the "&" from the rcp job command line

doing either of the above will ensure that control is not returned to the controlling process until the job is finished.

--
Bill "Shrek" Thater     ORACLE DBA      
"I'm going to work my ticket if I can..." -- Gilwell song
                william.thater_at_carrier.utc.com
------------------------------------------------------------------------
Any nitwit can understand computers.  Many do. - Ted Nelson
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Tue Feb 03 2004 - 07:12:37 CST

Original text of this message

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