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/fakePendingExp.d

    r27892 r40882  
    1 TABLE fakeRun, camRun, chipRun, rawExp
     1TABLE fakeRun JOIN camRun USING (cam_id) JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id)
    22TITLE fake Pending Exposures
    33FILE  fakePendingExp.php
     
    66# limit this table to non-OBJECT types of images
    77WHERE fakeRun.state = 'new'
    8 WHERE fakeRun.cam_id = camRun.cam_id
    9 WHERE camRun.chip_id = chipRun.chip_id
    10 WHERE chipRun.exp_id = rawExp.exp_id
     8
     9RESTRICT_COUNT AND rawExp.dateobs >= CURDATE()
     10UNRESTRICTED AND rawExp.dateobs >= CURDATE()
    1111
    1212ARGS  ARG1  rawImfile.exp_id=$rawExp.exp_id
Note: See TracChangeset for help on using the changeset viewer.