IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19409


Ignore:
Timestamp:
Sep 8, 2008, 10:55:06 AM (18 years ago)
Author:
Paul Price
Message:

Use the standard polling arguments. This is so that we only run warps
that have the label we have specified. This is the first place this is
being used. If it works, I'll expand it to others.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/warp.pro

    r19406 r19409  
    9696
    9797  task.exec
     98    $run = warptool -tooverlap -limit 20
    9899    if ($DB:n == 0)
    99100      option DEFAULT
    100       command warptool -tooverlap -limit 20
    101101    else
    102102      # save the DB name for the exit tasks
    103103      option $DB:$warpExp_DB
    104       command warptool -tooverlap -limit 20 -dbname $DB:$warpExp_DB
     104      $run = $run -dbname $DB:$warpExp_DB
    105105      $warpExp_DB ++
    106106      if ($warpExp_DB >= $DB:n) set warpExp_DB = 0
    107107    end
     108    add_poll_args run
     109    command $run
    108110  end
    109111
     
    207209
    208210  task.exec
     211    $run = warptool -towarped -limit 20
    209212    if ($DB:n == 0)
    210213      option DEFAULT
    211       command warptool -towarped -limit 20
    212214    else
    213215      # save the DB name for the exit tasks
    214216      option $DB:$warpSkycell_DB
    215       command warptool -towarped -limit 20 -dbname $DB:$warpSkycell_DB
     217      $run = $run -dbname $DB:$warpSkycell_DB
    216218      $warpSkycell_DB ++
    217219      if ($warpSkycell_DB >= $DB:n) set warpSkycell_DB = 0
    218220    end
     221    add_poll_args run
     222    command $run
    219223  end
    220224
     
    324328
    325329  task.exec
     330    $run = warptool -pendingcleanuprun -limit 20
    326331    if ($DB:n == 0)
    327332      option DEFAULT
    328       command warptool -pendingcleanuprun -limit 20
    329333    else
    330334      # save the DB name for the exit tasks
    331335      option $DB:$warpCleanup_DB
    332       command warptool -pendingcleanuprun -limit 20 -dbname $DB:$warpCleanup_DB
     336      $run = $run -dbname $DB:$warpCleanup_DB
    333337      $warpCleanup_DB ++
    334338      if ($warpCleanup_DB >= $DB:n) set warpCleanup_DB = 0
    335339    end
     340    add_poll_args run
     341    command $run
    336342  end
    337343
Note: See TracChangeset for help on using the changeset viewer.