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.resid.pro

    r19126 r19465  
    100100
    101101  task.exec
     102    $run = dettool -toresidimfile
    102103    if ($DB:n == 0)
    103104      option DEFAULT
    104       command dettool -toresidimfile -limit 20
    105105    else
    106106      # save the DB name for the exit tasks
    107107      option $DB:$detPendingResidImfile_DB
    108       command dettool -toresidimfile -limit 20 -dbname $DB:$detPendingResidImfile_DB
     108      $run = $run -dbname $DB:$detPendingResidImfile_DB
    109109      $detPendingResidImfile_DB ++
    110110      if ($detPendingResidImfile_DB >= $DB:n) set detPendingResidImfile_DB = 0
    111111    end
     112    add_poll_args run
     113    command $run
    112114  end
    113115
     
    221223
    222224  task.exec
     225    $run = dettool -toresidexp
    223226    if ($DB:n == 0)
    224227      option DEFAULT
    225       command dettool -toresidexp -limit 20
    226228    else
    227229      # save the DB name for the exit tasks
    228230      option $DB:$detPendingResidExp_DB
    229       command dettool -toresidexp -limit 20 -dbname $DB:$detPendingResidExp_DB
     231      $run = $run -dbname $DB:$detPendingResidExp_DB
    230232      $detPendingResidExp_DB ++
    231233      if ($detPendingResidExp_DB >= $DB:n) set detPendingResidExp_DB = 0
    232234    end
     235    add_poll_args run
     236    command $run
    233237  end
    234238
     
    335339
    336340  task.exec
     341    $run = dettool -pendingcleanup_residimfile
    337342    if ($DB:n == 0)
    338343      option DEFAULT
    339       command dettool -pendingcleanup_residimfile -limit 20
    340344    else
    341345      # save the DB name for the exit tasks
    342346      option $DB:$detCleanupResidImfile_DB
    343       command dettool -pendingcleanup_residimfile -limit 20 -dbname $DB:$detCleanupResidImfile_DB
     347      $run = $run -dbname $DB:$detCleanupResidImfile_DB
    344348      $detCleanupResidImfile_DB ++
    345349      if ($detCleanupResidImfile_DB >= $DB:n) set detCleanupResidImfile_DB = 0
    346350    end
     351    add_poll_args run
     352    command $run
    347353  end
    348354
     
    442448
    443449  task.exec
     450    $run = dettool -pendingcleanup_residexp
    444451    if ($DB:n == 0)
    445452      option DEFAULT
    446       command dettool -pendingcleanup_residexp -limit 20
    447453    else
    448454      # save the DB name for the exit tasks
    449455      option $DB:$detCleanupResidExp_DB
    450       command dettool -pendingcleanup_residexp -limit 20 -dbname $DB:$detCleanupResidExp_DB
     456      $run = $run -dbname $DB:$detCleanupResidExp_DB
    451457      $detCleanupResidExp_DB ++
    452458      if ($detCleanupResidExp_DB >= $DB:n) set detCleanupResidExp_DB = 0
    453459    end
     460    add_poll_args run
     461    command $run
    454462  end
    455463
Note: See TracChangeset for help on using the changeset viewer.