- Timestamp:
- 11/11/05 15:02:20 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7392 r7393 18 18 19 19 -*-*- 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 20 31 21 32 2005/11/10 Thomas Bretz -
trunk/MagicSoft/Mars/datacenter/macros/buildsequenceentries.C
r7370 r7393 418 418 // ========== Request data of sequence ========== 419 419 query = Form("SELECT fSourceKEY, fProjectKEY, " 420 " fL1TriggerTableKEY, fL 1TriggerTableKEY,"420 " fL1TriggerTableKEY, fL2TriggerTableKEY," 421 421 " fHvSettingsKEY, fDiscriminatorThresholdTableKEY," 422 422 " fTriggerDelayTableKEY, fLightConditionsKEY, fTestFlagKEY" -
trunk/MagicSoft/Mars/datacenter/scripts/rmlocks
r7371 r7393 34 34 for file in ${files[@]} 35 35 do 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` 40 39 # echo "date: "$filedate 41 40 # echo "now: " $now 42 41 # 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 ] 44 50 then 45 # echo "greater -> remove"46 51 rm -v $file 52 echo "date: "$filedate 53 echo "date2: "$filedate2 54 echo "now: "$now 55 echo "comp: "$compdate 47 56 date 48 57 fi 49 58 done 50 59 51 52
Note:
See TracChangeset
for help on using the changeset viewer.