Changeset 7469 for trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
- Timestamp:
- 01/31/06 17:42:30 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
r7467 r7469 44 44 45 45 # define callisto.rc files 46 callistorcnew=$setuppath/$program/ $program.rc47 callistorcmarapr05=$setuppath/$program/ $program_MarApr05.rc46 callistorcnew=$setuppath/$program/callisto.rc 47 callistorcmarapr05=$setuppath/$program/callisto_MarApr05.rc 48 48 49 49 table=SequenceProcessStatus … … 147 147 no=`printf %08d $sequence | cut -c 0-4` 148 148 no2=`printf %08d $sequence` 149 var1=$no 150 var2=$no2 149 151 outpath="$datapath/$program/$no/$no2" 150 152 echo "outpath: "$outpath >> $scriptlog 2>&1 … … 155 157 156 158 # find callisto.rc file 157 if [ -e $outpath/ $program.rc ]159 if [ -e $outpath/callisto.rc ] 158 160 then 159 161 echo "found $program.rc in $outpath -> using this " >> $scriptlog 2>&1 160 callistorcseq=$outpath/ $program.rc162 callistorcseq=$outpath/callisto.rc 161 163 else 162 164 echo "no $program.rc found in $outpath -> making link " >> $scriptlog 2>&1 163 165 if [ 49735 -lt $sequence ] && [ $sequence -lt 53516 ] 164 166 then 165 ln -vs $callistorcmarapr05 $outpath/ $program.rc >> $scriptlog 2>&1167 ln -vs $callistorcmarapr05 $outpath/callisto.rc >> $scriptlog 2>&1 166 168 else 167 ln -vs $callistorcnew $outpath/ $program.rc >> $scriptlog 2>&1169 ln -vs $callistorcnew $outpath/callisto.rc >> $scriptlog 2>&1 168 170 fi 169 callistorcseq=$outpath/ $program.rc171 callistorcseq=$outpath/callisto.rc 170 172 fi 171 173 172 174 echo "run $program..." >> $scriptlog 2>&1 173 setstatus "start" 175 setstatus "start" >> $scriptlog 2>&1 174 176 175 177 ./callisto -b -q -v4 -f -raw --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --out=$outpath --config=$callistorcseq $sequfile 2>> $scriptlog > /dev/null … … 265 267 # set status 266 268 echo "inserting the status for $program for sequence $sequence into the db" >> $scriptlog 2>&1 267 setstatus "stop" 269 setstatus "stop" >> $scriptlog 2>&1 268 270 done 269 271
Note:
See TracChangeset
for help on using the changeset viewer.