Changeset 13287 for trunk


Ignore:
Timestamp:
03/29/12 11:09:21 (13 years ago)
Author:
Daniela Dorner
Message:
added nightly insert for new table DriveFileAvailISDCStatus
File:
1 edited

Legend:

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

    r13158 r13287  
    5757do
    5858   date2=`echo $date | sed -e 's/\///g'`
     59   night=
    5960   query="SELECT fNight FROM AuxFilesAvailISDCStatus WHERE fNight="$date2
    6061   night=`sendquery`
     
    6364      printprocesslog "INFO insert "$date2" to AuxFilesAvailISDCStatus"
    6465      query="INSERT AuxFilesAvailISDCStatus SET fNight="$date2", fPriority="$date2
     66      sendquery >/dev/null 2>&1
     67   fi
     68   night=
     69   query="SELECT fNight FROM DriveFileAvailISDCStatus WHERE fNight="$date2
     70   night=`sendquery`
     71   if [ "$night" == "" ]
     72   then
     73      printprocesslog "INFO insert "$date2" to DriveFileAvailISDCStatus"
     74      query="INSERT DriveFileAvailISDCStatus SET fNight="$date2", fPriority="$date2
    6575      sendquery >/dev/null 2>&1
    6676   fi
Note: See TracChangeset for help on using the changeset viewer.