Ignore:
Timestamp:
09/06/12 15:26:07 (12 years ago)
Author:
gpincka
Message:

gestion (a ameliorer) des echecs ncrcat + check automatiques et aleatoires + resolution bug sur outil visu avancement + suppr liste 'manquant' vides

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/PACK_IPSL/process_list.sh

    r1863 r1864  
    100100                echo "# Status ; DateStart ; DateEnd ; Command ; TarFileExists" > $statusfile 
    101101        fi 
    102         # echo "output_ncrcat : blabla 1" 
    103         #----------------------------------- 
     102         
    104103        # Switch to tar command 
    105104        if [ $switchtotar -eq 1 ] ; then 
     
    109108                exit 5 
    110109        fi 
    111         # echo "output_ncrcat : blabla 2" 
    112         #----------------------------------- 
    113         # Skip the set if last line of the status file is "COMPLETED" or "DELEGATE" 
    114         if tail -1 $statusfile | grep -q -E '(COMPLETED|DELEGATE)' ; then 
    115                 printf "====> " 
    116                 tail -1 $statusfile 
    117                 exit 0 # gpdebug : modif 
    118         fi 
    119          
    120         # echo "output_ncrcat : blabla 3" 
     110         
     111        # Skip the set if last line of the status file is "DELEGATE" 
     112        if tail -1 $statusfile | grep -q -E 'DELEGATE' ; then 
     113                printf "====> " 
     114                tail -1 $statusfile 
     115                exit 50 
     116        fi 
     117         
     118        # Skip the set if last line of the status file is "COMPLETED" 
     119        if tail -1 $statusfile | grep -q -E 'COMPLETED' ; then 
     120                printf "====> " 
     121                tail -1 $statusfile 
     122                exit 0 
     123        fi       
    121124 
    122125        #----------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.