Changeset 18771 for trunk/DataCheck/Sourcefile.sh
- Timestamp:
- 02/20/17 13:58:55 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Sourcefile.sh
r18767 r18771 603 603 # only for aux files check of DB is needed 604 604 filenight=`basename $1 | cut -c 1-8` 605 # treat ratescan files 606 checkratescan=`echo $1 | grep -E -o RATE_SCAN_DATA` 607 if [ "$checkratescan" = "RATE_SCAN_DATA" ] && [ $filenight -gt 20130408 ] 608 then 609 #query="SELECT fMeasurementTypeKey from MeasurementType WHERE fMeasurementTypeName like 'Ratescan%'" 610 #ratescantypes=`sendquery` 611 query="SELECT COUNT(*) FROM Schedule WHERE fStart BETWEEN "$scheduletart" AND "$schedulestop" AND fMeasurementTypeKey IN (5,8) " 612 numratescans=`sendquery` 613 if [ $numratescans -gt 0 ] 614 then 615 printprocesslog "ERROR "$1" not found." 616 else 617 printprocesslog "INFO "$1" not found." 618 fi 619 return 1 620 fi 605 621 query="SELECT COUNT(*) FROM RunInfo WHERE fNight="$filenight" AND fRunTypeKey=1" 606 622 numdatruns=`sendquery`
Note:
See TracChangeset
for help on using the changeset viewer.