IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31480


Ignore:
Timestamp:
May 6, 2011, 4:18:53 PM (15 years ago)
Author:
watersc1
Message:

Fix to properly delete a page once we've run it. If it still needs work, it'll show up again the next time we run the load command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/lap.pro

    r31460 r31480  
    1717
    1818macro lap.show.books
     19    echo "lapNewRuns"
    1920    book listbook lapNewRuns
     21    echo "lapRunRuns"
    2022    book listbook lapRunRuns
     23    echo "lapDoneRuns"
    2124    book listbook lapDoneRuns
     25    echo "lapFullRuns"
    2226    book listbook lapFullRuns
    2327end
     
    3640      active true
    3741    end
    38     task lap.cleanup.load
    39       active true
    40     end
    41     task lap.cleanup.run
    42       active true
    43     end
    4442end
    4543
     
    5755      active false
    5856    end
    59     task lap.cleanup.load
    60       active false
    61     end
    62     task lap.cleanup.run
     57end
     58
     59macro lap.debug.mode
     60    task lap.initial.load
     61      active true
     62    end
     63    task lap.initial.run
     64      active false
     65    end
     66    task lap.monitor.load
     67      active true
     68    end
     69    task lap.monitor.run
    6370      active false
    6471    end
     
    181188  periods      -exec $LOADEXEC
    182189  periods      -timeout 600
     190  active       false
    183191# This can probably be increased and spread over hosts in the future.
    184192  npending     1           
     
    205213    book getword lapNewRuns $lapNewPageName dbname -var DBNAME
    206214
     215    option $LAP_ID
     216
    207217    $run = lap_science.pl --chip_mode --dbname $DBNAME --lap_id $LAP_ID
    208 
    209     command $run
    210 
    211   end
    212 
    213   # success
    214   task.exit  0
    215 #    book delpage lapNewRuns $options:0
     218   
     219    command $run
     220
     221  end
     222
     223  # success
     224  task.exit  0
     225     book delpage lapNewRuns $options:0
    216226#    ipptool2book stdout lapNewRuns -uniq -key lap_id
    217227
     
    297307  periods      -exec $LOADEXEC
    298308  periods      -timeout 600
     309  active       false
    299310# This can probably be increased and spread over hosts in the future.
    300311  npending     1           
     
    323334    book getword lapRunRuns $lapRunPageName dbname -var DBNAME
    324335
     336    option $LAP_ID
    325337    $run = lap_science.pl --monitor_mode --dbname $DBNAME --lap_id $LAP_ID
    326338
     
    331343  # success
    332344  task.exit  0
    333 #    book delpage lapRunRuns $options:0
     345    book delpage lapRunRuns $options:0
    334346#    ipptool2book stdout lapRunRuns -uniq -key lap_id
    335347
Note: See TracChangeset for help on using the changeset viewer.