Changeset 7393 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
11/11/05 15:02:20 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7392 r7393  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2005/11/12 Daniela Dorner
     22
     23   * datacenter/macros/buildsequenceentries.C:
     24     - fixed typo (be careful: due to this typo the values for
     25       L2TriggerTable in the DB and in the sequence files may be wrong)
     26
     27   * datacenter/scripts/rmlocks:
     28     - fixed condition for removing lock-file
     29
     30
    2031
    2132 2005/11/10 Thomas Bretz
  • trunk/MagicSoft/Mars/datacenter/macros/buildsequenceentries.C

    r7370 r7393  
    418418    // ========== Request data of sequence ==========
    419419    query = Form("SELECT fSourceKEY, fProjectKEY, "
    420                  " fL1TriggerTableKEY, fL1TriggerTableKEY,"
     420                 " fL1TriggerTableKEY, fL2TriggerTableKEY,"
    421421                 " fHvSettingsKEY, fDiscriminatorThresholdTableKEY,"
    422422                 " fTriggerDelayTableKEY, fLightConditionsKEY, fTestFlagKEY"
  • trunk/MagicSoft/Mars/datacenter/scripts/rmlocks

    r7371 r7393  
    3434for file in ${files[@]}
    3535do
    36 #   echo "file: "$file
    37    filedate=`date +%Y%m%d%H -r $file`
    38    now=`date +%Y%m%d%H`
    39    compdate=`expr $now - 13`
     36   filedate=`date +%H -r $file`
     37   now=`date +%H`
     38   compdate=`expr $now - 13 + 24`
    4039#   echo "date: "$filedate
    4140#   echo "now: " $now
    4241#   echo "comp: " $compdate
    43    if [ $compdate -gt $filedate ]
     42   twelf=12
     43   if [ $compdate -gt $twelf ]
     44   then
     45      filedate2=`expr $filedate + 24`
     46   else
     47      filedate2=$filedate
     48   fi
     49   if [ $compdate -gt $filedate2 ] || [ $filedate2 -gt $now -a $now -gt $twelf ]
    4450   then
    45 #      echo "greater -> remove"
    4651      rm -v $file
     52      echo "date:  "$filedate
     53      echo "date2: "$filedate2
     54      echo "now:   "$now
     55      echo "comp:  "$compdate
    4756      date
    4857   fi
    4958done
    5059
    51 
    52 
Note: See TracChangeset for help on using the changeset viewer.