IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19465


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.

Location:
trunk/ippTasks
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/calibration.pro

    r16298 r19465  
    5757
    5858  # define the command (does not depend on previous queries)
    59   if ($DB:n == 0)
     59  if ($DB:n != 0)
    6060    command caltool -dbs -active true
    6161  else
  • trunk/ippTasks/camera.pro

    r19421 r19465  
    7373
    7474  task.exec
    75     $run = camtool -pendingexp -limit 20
     75    $run = camtool -pendingexp
    7676    if ($DB:n == 0)
    7777      option DEFAULT
     
    204204
    205205  task.exec
    206     $run = camtool -pendingcleanuprun -limit 20
     206    $run = camtool -pendingcleanuprun
    207207    if ($DB:n == 0)
    208208      option DEFAULT
  • trunk/ippTasks/chip.pro

    r19421 r19465  
    7676
    7777  task.exec
    78     $run = chiptool -pendingimfile -limit 20
     78    $run = chiptool -pendingimfile
    7979    if ($DB:n == 0)
    8080      option DEFAULT
     
    207207
    208208  task.exec
    209     $run = chiptool -pendingcleanuprun -limit 20
     209    $run = chiptool -pendingcleanuprun
    210210    if ($DB:n == 0)
    211211      option DEFAULT
  • trunk/ippTasks/detrend.correct.pro

    r18568 r19465  
    7171
    7272  task.exec
     73    $run = dettool -tocorrectedimfile
    7374    if ($DB:n == 0)
    7475      option DEFAULT
    75       command dettool -tocorrectedimfile -limit 20
    7676    else
    7777      # save the DB name for the exit tasks
    7878      option $DB:$detPendingCorrectedImfile_DB
    79       command dettool -tocorrectedimfile -limit 20 -dbname $DB:$detPendingCorrectedImfile_DB
     79      $run = $run -dbname $DB:$detPendingCorrectedImfile_DB
    8080      $detPendingCorrectedImfile_DB ++
    8181      if ($detPendingCorrectedImfile_DB >= $DB:n) set detPendingCorrectedImfile_DB = 0
    8282    end
     83    add_poll_args run
     84    command $run
    8385  end
    8486
     
    192194
    193195  task.exec
     196    $run = dettool -tocorrectedexp
    194197    if ($DB:n == 0)
    195198      option DEFAULT
    196       command dettool -tocorrectedexp -limit 20
    197199    else
    198200      # save the DB name for the exit tasks
    199201      option $DB:$detPendingCorrectedExp_DB
    200       command dettool -tocorrectedexp -limit 20 -dbname $DB:$detPendingCorrectedExp_DB
     202      $run = $run -dbname $DB:$detPendingCorrectedExp_DB
    201203      $detPendingCorrectedExp_DB ++
    202204      if ($detPendingCorrectedExp_DB >= $DB:n) set detPendingCorrectedExp_DB = 0
    203205    end
     206    add_poll_args run
     207    command $run
    204208  end
    205209
  • 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
  • trunk/ippTasks/detrend.process.pro

    r19126 r19465  
    105105
    106106  task.exec
     107    $run = dettool -toprocessedimfile
    107108    if ($DB:n == 0)
    108109      option DEFAULT
    109       command dettool -toprocessedimfile -limit 20
    110110    else
    111111      # save the DB name for the exit tasks
    112112      option $DB:$detPendingProcessedImfile_DB
    113       command dettool -toprocessedimfile -limit 20 -dbname $DB:$detPendingProcessedImfile_DB
     113      $run = $run -dbname $DB:$detPendingProcessedImfile_DB
    114114      $detPendingProcessedImfile_DB ++
    115115      if ($detPendingProcessedImfile_DB >= $DB:n) set detPendingProcessedImfile_DB = 0
    116116    end
     117    add_poll_args run
     118    command $run
    117119  end
    118120
     
    222224
    223225  task.exec
     226    $run = dettool -toprocessedexp
    224227    if ($DB:n == 0)
    225228      option DEFAULT
    226       command dettool -toprocessedexp -limit 20
    227229    else
    228230      # save the DB name for the exit tasks
    229231      option $DB:$detPendingProcessedExp_DB
    230       command dettool -toprocessedexp -limit 20 -dbname $DB:$detPendingProcessedExp_DB
     232      $run = $run -dbname $DB:$detPendingProcessedExp_DB
    231233      $detPendingProcessedExp_DB ++
    232234      if ($detPendingProcessedExp_DB >= $DB:n) set detPendingProcessedExp_DB = 0
    233235    end
     236    add_poll_args run
     237    command $run
    234238  end
    235239
     
    336340
    337341  task.exec
     342    $run = dettool -pendingcleanup_processedimfile
    338343    if ($DB:n == 0)
    339344      option DEFAULT
    340       command dettool -pendingcleanup_processedimfile -limit 20
    341345    else
    342346      # save the DB name for the exit tasks
    343347      option $DB:$detCleanupProcessedImfile_DB
    344       command dettool -pendingcleanup_processedimfile -limit 20 -dbname $DB:$detCleanupProcessedImfile_DB
     348      $run = $run -dbname $DB:$detCleanupProcessedImfile_DB
    345349      $detCleanupProcessedImfile_DB ++
    346350      if ($detCleanupProcessedImfile_DB >= $DB:n) set detCleanupProcessedImfile_DB = 0
    347351    end
     352    add_poll_args run
     353    command $run
    348354  end
    349355
     
    442448
    443449  task.exec
     450    $run = dettool -pendingcleanup_processedexp
    444451    if ($DB:n == 0)
    445452      option DEFAULT
    446       command dettool -pendingcleanup_processedexp -limit 20
    447453    else
    448454      # save the DB name for the exit tasks
    449455      option $DB:$detCleanupProcessedExp_DB
    450       command dettool -pendingcleanup_processedexp -limit 20 -dbname $DB:$detCleanupProcessedExp_DB
     456      $run = $run -dbname $DB:$detCleanupProcessedExp_DB
    451457      $detCleanupProcessedExp_DB ++
    452458      if ($detCleanupProcessedExp_DB >= $DB:n) set detCleanupProcessedExp_DB = 0
    453459    end
     460    add_poll_args run
     461    command $run
    454462  end
    455463
  • trunk/ippTasks/detrend.reject.pro

    r18607 r19465  
    5252
    5353  task.exec
     54    $run = dettool -todetrunsummary
    5455    if ($DB:n == 0)
    5556      option DEFAULT
    56       command dettool -todetrunsummary -limit 20
    5757    else
    5858      # save the DB name for the exit tasks
    5959      option $DB:$detRejectExp_DB
    60       command dettool -todetrunsummary -limit 20 -dbname $DB:$detRejectExp_DB
     60      $run = $run -dbname $DB:$detRejectExp_DB
    6161      $detRejectExp_DB ++
    6262      if ($detRejectExp_DB >= $DB:n) set detRejectExp_DB = 0
    6363    end
     64    add_poll_args run
     65    command $run
    6466  end
    6567
  • 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
  • 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
  • trunk/ippTasks/diff.pro

    r19461 r19465  
    8181
    8282  task.exec
    83     $run = difftool -todiffskyfile -limit 20
     83    $run = difftool -todiffskyfile
    8484    if ($DB:n == 0)
    8585      option DEFAULT
     
    205205
    206206  task.exec
    207     $run = difftool -pendingcleanuprun -limit 20
     207    $run = difftool -pendingcleanuprun
    208208    if ($DB:n == 0)
    209209      option DEFAULT
  • trunk/ippTasks/fake.pro

    r19426 r19465  
    7373
    7474  task.exec
    75     $run = faketool -pendingimfile -limit 20
     75    $run = faketool -pendingimfile
    7676    if ($DB:n == 0)
    7777      option DEFAULT
     
    196196
    197197  task.exec
    198     $run = faketool -pendingcleanuprun -limit 20
     198    $run = faketool -pendingcleanuprun
    199199    if ($DB:n == 0)
    200200      option DEFAULT
  • trunk/ippTasks/flatcorr.pro

    r19329 r19465  
    114114
    115115  # define the command (does not depend on previous queries)
    116   if ($DB:n == 0)
    117     command flatcorr -pendingprocess
    118   else
     116  $run = flatcorr -pendingprocess
     117  if ($DB:n != 0)
    119118    # save the DB name for the exit tasks
    120119    option $DB:$flatcorr_pendingprocess_DB
    121     command flatcorr -pendingprocess -dbname $DB:$flatcorr_pendingprocess_DB
     120    $run = $run -dbname $DB:$flatcorr_pendingprocess_DB
    122121    $flatcorr_pendingprocess_DB ++
    123122    if ($flatcorr_pendingprocess_DB >= $DB:n) set flatcorr_pendingprocess_DB = 0
    124123  end
     124  add_poll_args run
     125  command $run
    125126
    126127  # silently drop stdout
  • trunk/ippTasks/pantasks.pro

    r19429 r19465  
    77$VERBOSE = 1
    88$LABEL = "NONE"
     9$POLLLIMIT = 32
    910$LOGDIR = `pwd`
    1011$LOGDIR = $LOGDIR/pantasks_logs
     
    192193
    193194    local command
    194     $command = $$1
     195    $command = $$1 -limit $POLLLIMIT
    195196
    196197    # Only process the data with the specified label.
  • trunk/ippTasks/register.pro

    r18607 r19465  
    7171  # iff the DB list is not set, use the value defined in .ipprc
    7272  task.exec
     73    $run = regtool -pendingimfile
    7374    if ($DB:n == 0)
    7475      option DEFAULT
    75       command regtool -pendingimfile -limit 20
    7676    else
    7777      # save the DB name for the exit tasks
    7878      option $DB:$regPendingImfile_DB
    79       command regtool -pendingimfile -limit 20 -dbname $DB:$regPendingImfile_DB
     79      $run = $run -dbname $DB:$regPendingImfile_DB
    8080      $regPendingImfile_DB ++
    8181      if ($regPendingImfile_DB >= $DB:n) set regPendingImfile_DB = 0
    8282    end
     83    add_poll_args run
     84    command $run
    8385  end
    8486
     
    198200
    199201  task.exec
     202    $run = regtool -pendingexp
    200203    if ($DB:n == 0)
    201204      option DEFAULT
    202       command regtool -pendingexp -limit 20
    203205    else
    204206      # save the DB name for the exit tasks
    205207      option $DB:$regPendingExp_DB
    206       command regtool -pendingexp -limit 20 -dbname $DB:$regPendingExp_DB
     208      $run = $run -dbname $DB:$regPendingExp_DB
    207209      $regPendingExp_DB ++
    208210      if ($regPendingExp_DB >= $DB:n) set regPendingExp_DB = 0
    209211    end
     212    add_poll_args run
     213    command $run
    210214  end
    211215
  • trunk/ippTasks/stack.pro

    r19443 r19465  
    8181
    8282  task.exec
    83     $run = stacktool -tosum -limit 20
     83    $run = stacktool -tosum
    8484    if ($DB:n == 0)
    8585      option DEFAULT
     
    206206
    207207  task.exec
    208     $run = stacktool -pendingcleanuprun -limit 20
     208    $run = stacktool -pendingcleanuprun
    209209    if ($DB:n == 0)
    210210      option DEFAULT
  • trunk/ippTasks/warp.pro

    r19409 r19465  
    9696
    9797  task.exec
    98     $run = warptool -tooverlap -limit 20
     98    $run = warptool -tooverlap
    9999    if ($DB:n == 0)
    100100      option DEFAULT
     
    209209
    210210  task.exec
    211     $run = warptool -towarped -limit 20
     211    $run = warptool -towarped
    212212    if ($DB:n == 0)
    213213      option DEFAULT
     
    328328
    329329  task.exec
    330     $run = warptool -pendingcleanuprun -limit 20
     330    $run = warptool -pendingcleanuprun
    331331    if ($DB:n == 0)
    332332      option DEFAULT
Note: See TracChangeset for help on using the changeset viewer.