IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 3, 2019, 4:04:13 PM (7 years ago)
Author:
tdeboer
Message:

updated ippMonitor queries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/def/camProcessedExp_failure.d

    r27892 r40882  
    1 TABLE camRun, camProcessedExp, chipRun, rawExp
     1TABLE camRun JOIN camProcessedExp using (cam_id) JOIN chipRun using (chip_id) JOIN rawExp using (exp_id)
    22TITLE Camera Failed Exposures
    33FILE  camProcessedExp_failure.php
     
    55
    66# the following WHERE clauses are added to all queries joined by AND
    7 WHERE camRun.chip_id = chipRun.chip_id
    8 WHERE chipRun.exp_id = rawExp.exp_id
    9 WHERE camProcessedExp.cam_id  = camRun.cam_id
    107WHERE camProcessedExp.fault != 0
     8
     9RESTRICT_COUNT AND rawExp.dateobs >= CURDATE()
     10UNRESTRICTED AND rawExp.dateobs >= CURDATE()
    1111
    1212# define the arguments supplied to the links below (if any)
Note: See TracChangeset for help on using the changeset viewer.