IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 10, 2008, 11:07:54 AM (18 years ago)
Author:
Paul Price
Message:

Making the poll limit (-limit 20) configurable. Didn't touch summit copy or replication.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/detrend.stack.pro

    r19126 r19465  
    7070
    7171  task.exec
     72    $run = dettool -tostacked
    7273    if ($DB:n == 0)
    7374      option DEFAULT
    74       command dettool -tostacked -limit 20
    7575    else
    7676      # save the DB name for the exit tasks
    7777      option $DB:$detPendingStackedImfile_DB
    78       command dettool -tostacked -limit 20 -dbname $DB:$detPendingStackedImfile_DB
     78      $run = $run -dbname $DB:$detPendingStackedImfile_DB
    7979      $detPendingStackedImfile_DB ++
    8080      if ($detPendingStackedImfile_DB >= $DB:n) set detPendingStackedImfile_DB = 0
    8181    end
     82    add_poll_args run
     83    command $run
    8284  end
    8385
     
    184186
    185187  task.exec
     188    $run = dettool -pendingcleanup_stacked
    186189    if ($DB:n == 0)
    187190      option DEFAULT
    188       command dettool -pendingcleanup_stacked -limit 20
    189191    else
    190192      # save the DB name for the exit tasks
    191193      option $DB:$detCleanupStackedImfile_DB
    192       command dettool -pendingcleanup_stacked -limit 20 -dbname $DB:$detCleanupStackedImfile_DB
     194      $run = $run -dbname $DB:$detCleanupStackedImfile_DB
    193195      $detCleanupStackedImfile_DB ++
    194196      if ($detCleanupStackedImfile_DB >= $DB:n) set detCleanupStackedImfile_DB = 0
    195197    end
     198    add_poll_args run
     199    command $run
    196200  end
    197201
Note: See TracChangeset for help on using the changeset viewer.