IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19443


Ignore:
Timestamp:
Sep 9, 2008, 2:51:28 PM (18 years ago)
Author:
Paul Price
Message:

Use standard poll arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/stack.pro

    r19406 r19443  
    8181
    8282  task.exec
     83    $run = stacktool -tosum -limit 20
    8384    if ($DB:n == 0)
    8485      option DEFAULT
    85       command stacktool -tosum -limit 20
    8686    else
    8787      # save the DB name for the exit tasks
    8888      option $DB:$stackSkycell_DB
    89       command stacktool -tosum -limit 20 -dbname $DB:$stackSkycell_DB
     89      $run = $run -dbname $DB:$stackSkycell_DB
    9090      $stackSkycell_DB ++
    9191      if ($stackSkycell_DB >= $DB:n) set stackSkycell_DB = 0
    9292    end
     93    add_poll_args run
     94    command $run
    9395  end
    9496
     
    204206
    205207  task.exec
     208    $run = stacktool -pendingcleanuprun -limit 20
    206209    if ($DB:n == 0)
    207210      option DEFAULT
    208       command stacktool -pendingcleanuprun -limit 20
    209211    else
    210212      # save the DB name for the exit tasks
    211213      option $DB:$stackCleanup_DB
    212       command stacktool -pendingcleanuprun -limit 20 -dbname $DB:$stackCleanup_DB
     214      $run = $run -dbname $DB:$stackCleanup_DB
    213215      $stackCleanup_DB ++
    214216      if ($stackCleanup_DB >= $DB:n) set stackCleanup_DB = 0
    215217    end
     218    add_poll_args run
     219    command $run
    216220  end
    217221
Note: See TracChangeset for help on using the changeset viewer.