Changeset 9061
- Timestamp:
- 07/31/08 14:15:56 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9058 r9061 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2008/07/31 Daniela Dorner 22 23 * resources/steps.rc: 24 - added missing influences and needs for DataSetProcessStatus 25 26 * datacenter/scripts/checkstardone 27 - removed breaks 28 - removed not needed variables 29 - changed dataset from string to int in call of macro 30 31 20 32 21 33 2008/07/31 Thomas Bretz -
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 -
trunk/MagicSoft/Mars/resources/steps.rc
r9051 r9061 174 174 DataSetProcessStatus.fDataSetNumber.Default: yes 175 175 #DataSetProcessStatus.fDataSetNumber.Needs: - 176 DataSetProcessStatus.fDataSetNumber.Influences: DataSetProcessStatus.f StarFilesAvail DataSetProcessStatus.fGanymed176 DataSetProcessStatus.fDataSetNumber.Influences: DataSetProcessStatus.fDataSetInserted DataSetProcessStatus.fDataSetFileWritten DataSetProcessStatus.fStarFilesAvail DataSetProcessStatus.fGanymed DataSetProcessStatus.fFillGanymed 177 177 DataSetProcessStatus.fDataSetNumber.Reset: yes 178 178 … … 181 181 DataSetProcessStatus.fDataSetInserted.Default: no 182 182 DataSetProcessStatus.fDataSetInserted.Needs: DataSetProcessStatus.fDataSetNumber 183 DataSetProcessStatus.fDataSetInserted.Influences: DataSetProcessStatus.fDataSetFileWritten DataSetProcessStatus.fStarFilesAvail DataSetProcessStatus.fGanymed DataSetProcessStatus.fFillGanymed 183 DataSetProcessStatus.fDataSetInserted.Influences: DataSetProcessStatus.fDataSetFileWritten DataSetProcessStatus.fStarFilesAvail DataSetProcessStatus.fGanymed DataSetProcessStatus.fFillGanymed DataSetProcessStatus.fFillGanymed 184 184 DataSetProcessStatus.fDataSetInserted.Reset: yes 185 185 … … 188 188 DataSetProcessStatus.fDataSetFileWritten.Default: no 189 189 DataSetProcessStatus.fDataSetFileWritten.Needs: DataSetProcessStatus.fDataSetNumber DataSetProcessStatus.fDataSetInserted 190 DataSetProcessStatus.fDataSetFileWritten.Influences: DataSetProcessStatus.fStarFilesAvail DataSetProcessStatus.fGanymed 190 DataSetProcessStatus.fDataSetFileWritten.Influences: DataSetProcessStatus.fStarFilesAvail DataSetProcessStatus.fGanymed DataSetProcessStatus.fFillGanymed 191 191 DataSetProcessStatus.fDataSetFileWritten.Reset: yes 192 192 … … 195 195 DataSetProcessStatus.fStarFilesAvail.Default: no 196 196 DataSetProcessStatus.fStarFilesAvail.Needs: DataSetProcessStatus.fDataSetInserted DataSetProcessStatus.fDataSetFileWritten 197 DataSetProcessStatus.fStarFilesAvail.Influences: DataSetProcessStatus.fGanymed 197 DataSetProcessStatus.fStarFilesAvail.Influences: DataSetProcessStatus.fGanymed DataSetProcessStatus.fFillGanymed 198 198 DataSetProcessStatus.fStarFilesAvail.Reset: yes 199 199
Note:
See TracChangeset
for help on using the changeset viewer.