Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 02 Dec 2004 @ 15:49:56 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Running multiple teradata scripts
 
From:   Doorey, Andrew

I'm not aware of a simple way of getting the next step to run immediately the last of these background processes has finished, but this code here will check every 10 seconds to see if they have all finished and only continue when they have:

     while [ `jobs | wc -l` -gt 0 ]
     do
         sleep 10
     done


     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023