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

    r19089 r19465  
    137137
    138138  task.exec
     139    $run = dettool -tonormalizedstat
    139140    if ($DB:n == 0)
    140141      option DEFAULT
    141       command dettool -tonormalizedstat -limit 20
    142142    else
    143143      # save the DB name for the exit tasks
    144144      option $DB:$detPendingNormStatImfile_DB
    145       command dettool -tonormalizedstat -limit 20 -dbname $DB:$detPendingNormStatImfile_DB
     145      $run = $run -dbname $DB:$detPendingNormStatImfile_DB
    146146      $detPendingNormStatImfile_DB ++
    147147      if ($detPendingNormStatImfile_DB >= $DB:n) set detPendingNormStatImfile_DB = 0
    148148    end
     149    add_poll_args run
     150    command $run
    149151  end
    150152
     
    247249
    248250  task.exec
     251    $run = dettool -tonormalize
    249252    if ($DB:n == 0)
    250253      option DEFAULT
    251       command dettool -tonormalize -limit 20
    252254    else
    253255      # save the DB name for the exit tasks
    254256      option $DB:$detPendingNormImfile_DB
    255       command dettool -tonormalize -limit 20 -dbname $DB:$detPendingNormImfile_DB
     257      $run = $run -dbname $DB:$detPendingNormImfile_DB
    256258      $detPendingNormImfile_DB ++
    257259      if ($detPendingNormImfile_DB >= $DB:n) set detPendingNormImfile_DB = 0
    258260    end
     261    add_poll_args run
     262    command $run
    259263  end
    260264
     
    360364
    361365  task.exec
     366    $run = dettool -tonormalizedexp
    362367    if ($DB:n == 0)
    363368      option DEFAULT
    364       command dettool -tonormalizedexp -limit 20
    365369    else
    366370      # save the DB name for the exit tasks
    367371      option $DB:$detPendingNormExp_DB
    368       command dettool -tonormalizedexp -limit 20 -dbname $DB:$detPendingNormExp_DB
     372      $run = $run -dbname $DB:$detPendingNormExp_DB
    369373      $detPendingNormExp_DB ++
    370374      if ($detPendingNormExp_DB >= $DB:n) set detPendingNormExp_DB = 0
    371375    end
     376    add_poll_args run
     377    command $run
    372378  end
    373379
     
    469475
    470476  task.exec
     477    $run = dettool -pendingcleanup_normalizedstat
    471478    if ($DB:n == 0)
    472479      option DEFAULT
    473       command dettool -pendingcleanup_normalizedstat -limit 20
    474480    else
    475481      # save the DB name for the exit tasks
    476482      option $DB:$detCleanupNormStatImfile_DB
    477       command dettool -pendingcleanup_normalizedstat -limit 20 -dbname $DB:$detCleanupNormStatImfile_DB
     483      $run = $run -dbname $DB:$detCleanupNormStatImfile_DB
    478484      $detCleanupNormStatImfile_DB ++
    479485      if ($detCleanupNormStatImfile_DB >= $DB:n) set detCleanupNormStatImfile_DB = 0
    480486    end
     487    add_poll_args run
     488    command $run
    481489  end
    482490
     
    573581
    574582  task.exec
     583    $run = dettool -pendingcleanup_normalizedimfile
    575584    if ($DB:n == 0)
    576585      option DEFAULT
    577       command dettool -pendingcleanup_normalizedimfile -limit 20
    578586    else
    579587      # save the DB name for the exit tasks
    580588      option $DB:$detCleanupNormImfile_DB
    581       command dettool -pendingcleanup_normalizedimfile -limit 20 -dbname $DB:$detCleanupNormImfile_DB
     589      $run = $run -dbname $DB:$detCleanupNormImfile_DB
    582590      $detCleanupNormImfile_DB ++
    583591      if ($detCleanupNormImfile_DB >= $DB:n) set detCleanupNormImfile_DB = 0
    584592    end
     593    add_poll_args run
     594    command $run
    585595  end
    586596
     
    678688
    679689  task.exec
     690    $run = dettool -pendingcleanup_normalizedexp
    680691    if ($DB:n == 0)
    681692      option DEFAULT
    682       command dettool -pendingcleanup_normalizedexp -limit 20
    683693    else
    684694      # save the DB name for the exit tasks
    685695      option $DB:$detCleanupNormExp_DB
    686       command dettool -pendingcleanup_normalizedexp -limit 20 -dbname $DB:$detCleanupNormExp_DB
     696      $run = $run -dbname $DB:$detCleanupNormExp_DB
    687697      $detCleanupNormExp_DB ++
    688698      if ($detCleanupNormExp_DB >= $DB:n) set detCleanupNormExp_DB = 0
    689699    end
     700    add_poll_args run
     701    command $run
    690702  end
    691703
Note: See TracChangeset for help on using the changeset viewer.