Changeset 7051 for trunk/MagicSoft/Mars/datacenter/scripts/runganymed
- Timestamp:
- 05/17/05 16:53:35 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runganymed
r7050 r7051 171 171 do 172 172 no=`printf %08d $dataset | cut -c 0-4` 173 outpath="/magic/data/ganymed/$no/"`printf %08d $dataset` 174 inpath=`echo $outpath | sed -e 's/ganymed/star/'` 175 echo "inpath: "$inpath >> $scriptlog 2>&1 173 no2=`printf %08d $dataset` 174 outpath="/magic/data/ganymed/$no/$no2" 176 175 echo "outpath: "$outpath >> $scriptlog 2>&1 177 176 if [ ! -d $outpath ] … … 184 183 fi 185 184 fi 186 datasetfile="/magic/datasets/$no/dataset "`printf %08d $dataset`".txt"185 datasetfile="/magic/datasets/$no/dataset$no2.txt" 187 186 echo "datasetfile: "$datasetfile >> $scriptlog 2>&1 188 187 189 188 echo "run ganymed..." >> $scriptlog 2>&1 190 ./ganymed -b -q -f --log=$outpath/ganymed$ dataset.log --ind=$inpath--out=$outpath $datasetfile 2>> $scriptlog> /dev/null189 ./ganymed -b -q -f --log=$outpath/ganymed$no2.log --out=$outpath $datasetfile 2>> $scriptlog> /dev/null 191 190 check1=$? 192 191 … … 204 203 fi 205 204 fi 206 setstatuslog=$setstatuslogpath/setstatus-ganymed 207 check4=`root -q -b $macrospath/setstatus.C+\("\"$dataset\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog -$dataset.log| grep int | sed -e 's/(int)//'`205 setstatuslog=$setstatuslogpath/setstatus-ganymed-$no2.log 206 check4=`root -q -b $macrospath/setstatus.C+\("\"$dataset\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 208 207 case $check4 in 209 208 1) echo "check4=$check4 -> everthing ok, status has been set" >> $scriptlog 2>&1;;
Note:
See TracChangeset
for help on using the changeset viewer.