nohup jobs

  • From: "Kommareddy, Srinivas (MED, Wissen Infotech)" <Srinivas.Kommareddy@xxxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Tue, 3 Feb 2004 05:54:15 -0600

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@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: