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: Kommareddy, Srinivas (MED, Wissen Infotech) <Srinivas.Kommareddy_at_med.ge.com>
Date: Tue, 3 Feb 2004 06:40:32 -0600
Message-ID: <1C9727B12F498543A43CBB988F30515C01F97A51@uswaumsx14medge.med.ge.com>


Hi,

Tx for responding.

When you submit a job in background, you get the pid value of the job

[1] 87

and when the job is completed, you get the DONE.

[1] + Done

But here even my job (rcp) is running in backgroud, why I got Done.

Thanks and Regards,

Srinivas

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Jack van Zanen
Sent: Tuesday, February 03, 2004 5:47 PM To: 'oracle-l_at_freelists.org'
Subject: RE: nohup jobs

Hi

Not a UNIX expert but I think the & at the end tells it to return the prompt
and run in the background. Returning the prompt is an almost instant job and
that is wath you get confirmed

Jack

-----Original Message-----
From: Kommareddy, Srinivas (MED, Wissen Infotech)
[mailto:Srinivas.Kommareddy_at_med.ge.com]
Sent: Tuesday, February 03, 2004 12:54 PM To: oracle-l_at_freelists.org
Subject: nohup jobs

Hi All,  

Could somebody explain me the behaviour of the following unix job:  

This job is copying the files from 1 server to another server using rcp:  

Syntax goes like this:  

rcp -r /u02/app/applmgr/common/inst1/*
srvr2:/u02/app/applmgr/common/inst2/. &  

I put this in a file and chmod it to 755 and executed it in background.  

nohup file1 >file1.out &
[1] 87
 

in the next moment it has comeout immediately.  

[1] + Done nohup file1 >file1.out &
 

but the rcp went fine successfully.  

The question is why the job has come out stating Done eventhoug the rcp is
running.  

Thanks and Regards,
Srinivas    



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
-----------------------------------------------------------------
----------------------------------------------------------------
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
-----------------------------------------------------------------
----------------------------------------------------------------
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 - 06:40:32 CST

Original text of this message

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