Changeset 9100 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
08/05/08 17:33:16 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9099 r9100  
    5959     - fixed bug in query of setstatus
    6060     - improved if-clause to avoid unneccessary output
     61
     62   * datacenter/db/menu.php:
     63     - changed width input fields for ranges from 6 to 8
     64
     65   * datacenter/scripts/condorstatistic:
     66     - fixed logging output
     67
     68   * datacenter/scripts/dbchk:
     69     - added checking of consistency with table SequenceProcessStatus
     70
     71   * resources/steps.rc:
     72     - fixed primaries of DataSetProcessStatus
    6173
    6274
  • trunk/MagicSoft/Mars/datacenter/scripts/condorstatistics

    r9073 r9100  
    6464   case $check0 in
    6565      1)   echo " check0=$check0 -> everything ok -> move files" >> $scriptlog 2>&1
    66            printprocesslog "INFO plots successfully produced"
     66           printprocesslog "INFO condor statistic filled succesfully"
    6767           day=`basename $date`
    6868           cd `dirname $date`
     
    7979           cd $mars
    8080           ;;
    81       *)   echo " check0=$check0 -> ERROR -> couldn't create plots -> exit" >> $scriptlog 2>&1
    82            printprocesslog "ERROR producing plots failed"
     81      *)   echo " check0=$check0 -> ERROR -> couldn't fill condor statistic to DB -> exit" >> $scriptlog 2>&1
     82           printprocesslog "ERROR filling condor statistic to DB failed"
    8383           finish >> $scriptlog 2>&1
    8484           ;;
  • trunk/MagicSoft/Mars/datacenter/scripts/dbchk

    r9068 r9100  
    163163
    164164# CHECK 3
    165 echo "Checking if all sequences from Sequences exists RunData" >> $scriptlog 2>&1
     165echo "Checking if all sequences from Sequences exist RunData" >> $scriptlog 2>&1
    166166sequences=`echo SELECT fSequenceFirst FROM Sequences GROUP BY fSequenceFirst | mymysql`
    167167for sequence in $sequences
     
    177177
    178178# CHECK 4
    179 echo "Checking if all sequences from RunData exists in Sequences" >> $scriptlog 2>&1
     179echo "Checking if all sequences from RunData exist in Sequences" >> $scriptlog 2>&1
    180180sequences=`echo SELECT fSequenceFirst FROM RunData WHERE not fSequenceFirst=0 GROUP BY fSequenceFirst | mymysql`
    181181for sequence in $sequences
     
    190190done
    191191
     192# CHECK 5
     193echo "Checking if all sequences from RunData exist in SequenceProcessStatus" >> $scriptlog 2>&1
     194sequences=`echo SELECT fSequenceFirst FROM RunData WHERE not fSequenceFirst=0 GROUP BY fSequenceFirst | mymysql`
     195for sequence in $sequences
     196do
     197   var=`echo SELECT fSequenceFirst FROM SequenceProcessStatus WHERE fSequenceFirst=$sequence | mymysql`
     198   if ! [ "$sequence" = "$var" ]
     199   then
     200      echo "Sequence $sequence exists in RunData but not in SequenceProcessStatus." >> $scriptlog 2>&1
     201      printprocesslog "Sequence $sequence exists in RunData but not in SequenceProcessStatus (DB)."
     202      continue
     203   fi
     204done
     205
    192206finish >> $scriptlog 2>&1
  • trunk/MagicSoft/Mars/resources/steps.rc

    r9061 r9100  
    33RunProcessStatus.Primary: fRunNumber fTelescopeNumber fFileNumber
    44SequenceProcessStatus.Primary: fSequenceFirst fTelescopeNumber
    5 DataSetProcessStatus.Primary: fDataSetNumber fTelescopeNumber
     5DataSetProcessStatus.Primary: fDataSetNumber
    66
    77#--------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.