Ignore:
Timestamp:
11/02/16 03:27:27 (8 years ago)
Author:
Daniela Dorner
Message:
fixed issue with times stamps that occured since update of gate and mysql version
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Processing/CheckRawData.sh

    r18093 r18661  
    244244               # for very old data, but gives problems for newer data
    245245               #runstart=`$factpath/fitsdump -h $file  2>/dev/null | grep DATE | grep -v 'DATE-' | grep -E -o '20[1-9][0-9][\-][01][0-9][\-][0-3][0-9]T[0-2][0-9]:[0-6][0-9]:[0-6][0-9][.][0-9]{6}'`
    246                runstart="0000-00-00 00:00:00"
     246               #runstart="0000-00-00 00:00:00"
     247               runstart=
    247248            else
    248249               runstart=$runstart2
     
    260261               # for very old data, but gives problems for newer data
    261262               #runstop=`stat $file  2>/dev/null | grep Modify | grep -E -o '20[1-9][0-9][\-][01][0-9][\-][0-3][0-9][ ][0-2][0-9]:[0-6][0-9]:[0-6][0-9][.][0-9]{9}'`
    262                runstop="0000-00-00 00:00:00"
     263               #runstop="0000-00-00 00:00:00"
     264               runstop=
    263265            else
    264266               runstop=$runstop2
     
    320322      if [ "$filenotclosed" == "no" ]
    321323      then
    322          query=$query", fRunStart='"$runstart"', fRunStop='"$runstop"'"
     324         if [ "$runstart" == "" ]
     325         then
     326            query=$query", fRunStart=NULL"
     327         else
     328            query=$query", fRunStart='"$runstart"'"
     329         fi
     330         if [ "$runstop" == "" ]
     331         then
     332            query=$query", fRunStop=NULL"
     333         else
     334            query=$query", fRunStop='"$runstop"'"
     335         fi
    323336         if [ "$numevents" != "" ]
    324337         then
Note: See TracChangeset for help on using the changeset viewer.