The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: nohup usage..
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-20-2006
charan81 charan81 is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 19
nohup usage..

Hi,

I want to run the below 3 sql files parallely..I know adding a "&" at the end

of the command will make it run in background.But each sql file will take

a considerable time to execute so i want to apply "nohup" to this execution.

Help me how to use " nohup " to these...

echo $PASSWD | $ORACLE_HOME/bin/sqlplus -s dls_rep@$2 @$DM_DIR/$2/$1/JOB/dimA.sql &

echo $PASSWD | $ORACLE_HOME/bin/sqlplus -s dls_rep@$2 @$DM_DIR/$2/$1/JOB/dimB.sql &

echo $PASSWD | $ORACLE_HOME/bin/sqlplus -s dls_rep@$2 @$DM_DIR/$2/$1/JOB/dimC.sql &

Thanks.

Last edited by charan81; 05-20-2006 at 02:46 PM.. Reason: To correct sql's