Ignore:
Timestamp:
01/31/06 17:42:30 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/runcallisto

    r7467 r7469  
    4444
    4545# define callisto.rc files
    46 callistorcnew=$setuppath/$program/$program.rc
    47 callistorcmarapr05=$setuppath/$program/$program_MarApr05.rc
     46callistorcnew=$setuppath/$program/callisto.rc
     47callistorcmarapr05=$setuppath/$program/callisto_MarApr05.rc
    4848
    4949table=SequenceProcessStatus
     
    147147  no=`printf %08d $sequence | cut -c 0-4`
    148148  no2=`printf %08d $sequence`
     149  var1=$no
     150  var2=$no2
    149151  outpath="$datapath/$program/$no/$no2"
    150152  echo "outpath: "$outpath >> $scriptlog 2>&1
     
    155157 
    156158  # find callisto.rc file
    157   if [ -e $outpath/$program.rc ]
     159  if [ -e $outpath/callisto.rc ]
    158160  then
    159161     echo "found $program.rc in $outpath -> using this " >> $scriptlog 2>&1
    160      callistorcseq=$outpath/$program.rc
     162     callistorcseq=$outpath/callisto.rc
    161163  else
    162164     echo "no $program.rc found in $outpath -> making link " >> $scriptlog 2>&1
    163165     if [ 49735 -lt $sequence ] && [ $sequence -lt 53516 ]
    164166     then
    165         ln -vs $callistorcmarapr05 $outpath/$program.rc >> $scriptlog 2>&1
     167        ln -vs $callistorcmarapr05 $outpath/callisto.rc >> $scriptlog 2>&1
    166168     else
    167         ln -vs $callistorcnew $outpath/$program.rc >> $scriptlog 2>&1
     169        ln -vs $callistorcnew $outpath/callisto.rc >> $scriptlog 2>&1
    168170     fi
    169      callistorcseq=$outpath/$program.rc
     171     callistorcseq=$outpath/callisto.rc
    170172  fi
    171173
    172174  echo "run $program..." >> $scriptlog 2>&1
    173   setstatus "start"
     175  setstatus "start" >> $scriptlog 2>&1
    174176
    175177  ./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
     
    265267  # set status
    266268  echo "inserting the status for $program for sequence $sequence into the db" >> $scriptlog 2>&1
    267   setstatus "stop"
     269  setstatus "stop"  >> $scriptlog 2>&1
    268270done
    269271
Note: See TracChangeset for help on using the changeset viewer.