Changeset 1864 for TOOLS/PACK_IPSL/process_list.sh
- Timestamp:
- 09/06/12 15:26:07 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/PACK_IPSL/process_list.sh
r1863 r1864 100 100 echo "# Status ; DateStart ; DateEnd ; Command ; TarFileExists" > $statusfile 101 101 fi 102 # echo "output_ncrcat : blabla 1" 103 #----------------------------------- 102 104 103 # Switch to tar command 105 104 if [ $switchtotar -eq 1 ] ; then … … 109 108 exit 5 110 109 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 121 124 122 125 #-----------------------------------
Note: See TracChangeset
for help on using the changeset viewer.