Changeset 9061 for trunk/MagicSoft/Mars/datacenter/scripts/checkstardone
- Timestamp:
- 07/31/08 14:15:56 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/checkstardone
r9054 r9061 59 59 printprocesslog "INFO checking star done for sequences of dataset $dataset" 60 60 61 no=`printf %08d $dataset | cut -c 0-5` 62 no2=`printf %08d $dataset` 63 dsnum=`printf %08d $dataset` 64 65 echo "run $program for sequence $sequence..." >> $scriptlog 2>&1 66 67 outpath=$logpath/$program/$no/$no2 61 outpath=$logpath/$program/`printf %08d $dataset | cut -c 0-5` 68 62 makedir $outpath >> $scriptlog 2>&1 69 63 70 64 setstatus "start" >> $scriptlog 2>&1 71 65 72 check1=`root -q -b $macrospath/checkstardone.C+\( \""$dsnum\""\) | tee $outpath/checkstardone-$dsnum.log | intgrep`66 check1=`root -q -b $macrospath/checkstardone.C+\($dataset\) | tee $outpath/checkstardone-$dataset.log | intgrep` 73 67 74 68 case $check1 in 75 69 1) echo " check1=$check1 -> everything ok -> continue with next dataset..." >> $scriptlog 2>&1 ;; 76 2) echo " check1=$check1 -> star files for dataset $d snumnot yet available -> continue..." >> $scriptlog 2>&177 printprocesslog "INFO files not yet available for dataset $d snum"70 2) echo " check1=$check1 -> star files for dataset $dataset not yet available -> continue..." >> $scriptlog 2>&1 71 printprocesslog "INFO files not yet available for dataset $dataset" 78 72 check="no" 79 break80 73 ;; 81 74 0) echo " check1=$check1 -> no connection to db -> continue..." >> $scriptlog 2>&1 82 75 printprocesslog "WARN connection to DB failed" 83 76 check="no" 84 break85 77 ;; 86 78 *) echo " check1=$check1 -> ERROR " >> $scriptlog 2>&1 … … 88 80 com=$Fstardone 89 81 check=$check1 90 break91 82 ;; 92 83 esac
Note:
See TracChangeset
for help on using the changeset viewer.