Changeset 7051 for trunk/MagicSoft/Mars/datacenter/scripts/runstar
- Timestamp:
- 05/17/05 16:53:35 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runstar
r7030 r7051 167 167 for sequence in ${sequences[@]} 168 168 do 169 no=`printf %08d $sequence | cut -c 4` 170 outpath="/magic/data/star/"`printf %04d $no`"/"`printf %08d $sequence` 169 no=`printf %08d $sequence | cut -c 0-4` 170 no2=`printf %08d $sequence` 171 outpath="/magic/data/star/$no/$no2" 171 172 inpath=`echo $outpath | sed -e 's/star/callisto/'` 172 173 echo "inpath: "$inpath >> $scriptlog 2>&1 … … 181 182 fi 182 183 fi 183 sequfile="/magic/sequences/ "`printf %04d $no`"/sequence"`printf %08d $sequence`".txt"184 sequfile="/magic/sequences/$no/sequence$no2.txt" 184 185 echo "sequfile: "$sequfile >> $scriptlog 2>&1 185 186 … … 191 192 0) echo "check1=$check1 -> everthing ok " >> $scriptlog 2>&1 192 193 echo "-> inserting the status for star for sequence $sequence into the db" >> $scriptlog 2>&1 193 setstatuslogpath=$logpath/setstatus/star/ `printf %04d $no`194 setstatuslogpath=$logpath/setstatus/star/$no 194 195 if [ ! -d $setstatuslogpath ] 195 196 then … … 201 202 fi 202 203 fi 203 setstatuslog=$setstatuslogpath/setstatus-star 204 check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog -$sequence.log| grep int | sed -e 's/(int)//'`204 setstatuslog=$setstatuslogpath/setstatus-star-$no2.log 205 check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 205 206 case $check4 in 206 207 1) echo "check4=$check4 -> everthing ok, status has been set" >> $scriptlog 2>&1;;
Note:
See TracChangeset
for help on using the changeset viewer.