Changeset 7051 for trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
- Timestamp:
- 05/17/05 16:53:35 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
r7030 r7051 172 172 for sequence in ${sequences[@]} 173 173 do 174 no=`printf %08d $sequence | cut -c 4` 175 outpath="/magic/data/callisto/"`printf %04d $no`"/"`printf %08d $sequence` 174 no=`printf %08d $sequence | cut -c 0-4` 175 no2=`printf %08d $sequence` 176 outpath="/magic/data/callisto/$no/$no2" 176 177 echo "outpath: "$outpath >> $scriptlog 2>&1 177 178 if [ ! -d $outpath ] … … 184 185 fi 185 186 fi 186 sequfile="/magic/sequences/ "`printf %04d $no`"/sequence"`printf %08d $sequence`".txt"187 sequfile="/magic/sequences/$no/sequence$no2.txt" 187 188 echo "sequfile: "$sequfile >> $scriptlog 2>&1 188 189 … … 198 199 199 200 echo "run callisto..." >> $scriptlog 2>&1 200 ./callisto -b -q -f -raw --log=$outpath/callisto$ sequence.log --out=$outpath --config=$callistorcseq $sequfile 2>> $scriptlog > /dev/null201 ./callisto -b -q -f -raw --log=$outpath/callisto$no2.log --out=$outpath --config=$callistorcseq $sequfile 2>> $scriptlog > /dev/null 201 202 check1=$? 202 203 … … 275 276 276 277 echo "inserting the status for callisto for sequence $sequence into the db" >> $scriptlog 2>&1 277 setstatuslogpath=$logpath/setstatus/callisto/ `printf %04d $no`278 setstatuslogpath=$logpath/setstatus/callisto/$no 278 279 if [ ! -d $setstatuslogpath ] 279 280 then … … 285 286 fi 286 287 fi 287 setstatuslog=$setstatuslogpath/setstatus-callisto 288 check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog -$sequence.log| grep int | sed -e 's/(int)//'`288 setstatuslog=$setstatuslogpath/setstatus-callisto-$no2.log 289 check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 289 290 case $check4 in 290 291 1) echo "check4=$check4 -> everthing ok, status has been set" >> $scriptlog 2>&1;;
Note:
See TracChangeset
for help on using the changeset viewer.