IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32434


Ignore:
Timestamp:
Sep 22, 2011, 2:42:12 PM (15 years ago)
Author:
watersc1
Message:

Add option to pass a queue list to the cleanup script to let it launch the next run before cleaning up this one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/lap.pro

    r31491 r32434  
    1010$lap_RunPage = 0
    1111$lap_DonePage = 0
     12
     13$LAP_QUEUE = NULL
    1214
    1315book init lapNewRuns
     
    135137 
    136138
     139macro lap.define.queue
     140  $LAP_QUEUE = $1
     141end
     142
    137143task           lap.initial.load
    138144  host         local
     
    463469    option $LAP_ID
    464470    $run = lap_science.pl --cleanup_mode --dbname $DBNAME --lap_id $LAP_ID
     471    if ("$LAP_QUEUE" != "NULL")
     472      $run = $run --queue_list $LAP_QUEUE
     473    end
     474   
    465475
    466476    command $run
Note: See TracChangeset for help on using the changeset viewer.