IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30483


Ignore:
Timestamp:
Feb 3, 2011, 10:28:03 AM (15 years ago)
Author:
bills
Message:

add priority and timestamp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/psstatus

    r30469 r30483  
    5151    label,
    5252    reqType,
     53    priority,
    5354    state,
    5455    fault,
     
    5960    IFNULL(faultedJobs, 0) AS 'Faulted Jobs',
    6061    IFNULL(depcount, 0) AS 'Image updates'
    61     -- timestamp AS 'last state change (UTC)'
     62    , timestamp AS 'last state change (UTC)'
    6263FROM (
    6364    SELECT
     
    6869        pstampRequest.state,
    6970        pstampRequest.fault,
    70         timestamp
    71 FROM pstampRequest
     71        timestamp,
     72        priority
     73FROM pstampRequest
     74JOIN Label USING(label)
    7275    WHERE pstampRequest.state = 'run' or pstampRequest.state ='new'
    73         OR pstampRequest.state = 'run.wait'
     76   --     OR pstampRequest.state = 'run.wait'
    7477) as unfinishedReq
    7578LEFT JOIN (
Note: See TracChangeset for help on using the changeset viewer.