IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 17, 2013, 3:04:00 PM (13 years ago)
Author:
bills
Message:

don't count jobs in state 'cancel' as 'running' so that a job
is finished if all jobs are in state stop or cancel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/pstamptool_completedreq.sql

    r29563 r35410  
    88        SELECT count(*) FROM pstampJob
    99        WHERE pstampJob.req_id = pstampRequest.req_id
    10                 AND pstampJob.state != 'stop'
     10                AND pstampJob.state != 'stop'
     11                AND pstampJob.state != 'cancel'
    1112        ) = 0
Note: See TracChangeset for help on using the changeset viewer.