Changeset 7212 for trunk/MagicSoft/Mars/datacenter/scripts/runganymed
- Timestamp:
- 07/22/05 15:59:46 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runganymed
r7182 r7212 190 190 mode="onoff" >> $scriptlog 2>&1 191 191 fi 192 ganymedrc=/magic/datacenter/setup/ganymed/ganymed_$mode 192 ganymedrc=/magic/datacenter/setup/ganymed/ganymed_$mode.rc 193 193 194 194 echo "run ganymed..." >> $scriptlog 2>&1 195 ./ganymed -b -q -v4 -f --sum --config=$ganymedrc .rc--log=$outpath/ganymed$no2.log --html=$outpath/ganymed$no2.html --out=$outpath $datasetfile 2>> $scriptlog> /dev/null195 ./ganymed -b -q -v4 -f --sum --config=$ganymedrc --log=$outpath/ganymed$no2.log --html=$outpath/ganymed$no2.html --out=$outpath $datasetfile 2>> $scriptlog> /dev/null 196 196 check1=$? 197 197 198 198 case $check1 in 199 199 0) echo "check1=$check1 -> everthing ok " >> $scriptlog 2>&1 200 echo "-> do ganymed a second time " >> $scriptlog 2>&1 201 ./ganymed -b -q -v4 -f --skip-res --config=$ganymedrc-fs.rc --log=$outpath/ganymed$no2-fs.log --html=$outpath/ganymed$no2-fs.html --out=$outpath --outf=ganymed$no2-fs.root $datasetfile 2>> $scriptlog> /dev/null 202 check2=$? 203 204 case $check2 in 205 0) echo "check2=$check2 -> everthing ok " >> $scriptlog 2>&1 206 echo "-> inserting the status for ganymed for dataset $dataset into the db" >> $scriptlog 2>&1 207 setstatuslogpath=$logpath/setstatus/ganymed/$no 208 if [ ! -d $setstatuslogpath ] 209 then 210 mkdir -pv $setstatuslogpath >> $scriptlog 2>&1 211 if [ ! -d $setstatuslogpath ] 212 then 213 echo "could not make setstatuslogpath "$setstatuslogpath >> $scriptlog 2>&1 214 continue 215 fi 216 fi 217 setstatuslog=$setstatuslogpath/setstatus-ganymed-$no2.log 218 check4=`root -q -b $macrospath/setstatus.C+\("\"$dataset\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 219 case $check4 in 220 1) echo "check4=$check4 -> everthing ok, status has been set" >> $scriptlog 2>&1;; 221 *) echo "check4=$check4 -> ERROR -> step could not be set" >> $scriptlog 2>&1;; 222 esac 223 ;; 224 *) echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;; 200 echo "-> inserting the status for ganymed for dataset $dataset into the db" >> $scriptlog 2>&1 201 setstatuslogpath=$logpath/setstatus/ganymed/$no 202 if [ ! -d $setstatuslogpath ] 203 then 204 mkdir -pv $setstatuslogpath >> $scriptlog 2>&1 205 if [ ! -d $setstatuslogpath ] 206 then 207 echo "could not make setstatuslogpath "$setstatuslogpath >> $scriptlog 2>&1 208 continue 209 fi 210 fi 211 setstatuslog=$setstatuslogpath/setstatus-ganymed-$no2.log 212 check4=`root -q -b $macrospath/setstatus.C+\("\"$dataset\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 213 case $check4 in 214 1) echo "check4=$check4 -> everthing ok, status has been set" >> $scriptlog 2>&1;; 215 *) echo "check4=$check4 -> ERROR -> step could not be set" >> $scriptlog 2>&1;; 225 216 esac 226 217 ;;
Note:
See TracChangeset
for help on using the changeset viewer.