IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21100


Ignore:
Timestamp:
Jan 9, 2009, 10:10:38 AM (17 years ago)
Author:
bills
Message:

pass -label to magictool if LABEL is set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/magic.pro

    r21009 r21100  
    8787
    8888  task.exec
     89    $run = magictool -totree
    8990    if ($DB:n == 0)
    9091      option DEFAULT
    91       command magictool -totree -limit 20
    9292    else
    9393      # save the DB name for the exit tasks
    9494      option $DB:$magicToTree_DB
    95       command magictool -totree -limit 20 -dbname $DB:$magicToTree_DB
     95      $run = $run -dbname $DB:$magicToTree_DB
    9696      $magicToTree_DB ++
    9797      if ($magicToTree_DB >= $DB:n) set magicToTree_DB = 0
    9898    end
     99    add_poll_args run
     100    command $run
    99101  end
    100102
     
    206208
    207209  task.exec
     210    $run = magictool -toprocess
    208211    if ($DB:n == 0)
    209212      option DEFAULT
    210       command magictool -toprocess -limit 20
    211213    else
    212214      # save the DB name for the exit tasks
    213215      option $DB:$magicToProcess_DB
    214       command magictool -toprocess -limit 20 -dbname $DB:$magicToProcess_DB
     216      $run = $run -dbname $DB:$magicToProcess_DB
    215217      $magicToProcess_DB ++
    216218      if ($magicToProcess_DB >= $DB:n) set magicToProcess_DB = 0
    217219    end
     220    add_poll_args run
     221    command $run
    218222  end
    219223
     
    311315
    312316  periods      -poll $LOADPOLL
    313   periods      -exec 60
    314   periods      -timeout 30
     317  periods      -exec 30
     318  periods      -timeout 20
    315319  npending     1
    316320
     
    319323
    320324  task.exec
     325    $run = magicdstool -todestreak -limit 32
    321326    if ($DB:n == 0)
    322327      option DEFAULT
    323       command magicdstool -todestreak -limit 20
    324328    else
    325329      # save the DB name for the exit tasks
    326330      option $DB:$magicToDS_DB
    327       command magicdstool -todestreak -limit 20 -dbname $DB:$magicToDS_DB
     331      $run = $run -dbname $DB:$magicToDS_DB
    328332      $magicToDS_DB ++
    329333      if ($magicToDS_DB >= $DB:n) set magicToDS_DB = 0
    330334    end
     335#    XXX magicDSRun doesn't have label so can't use add_poll_args
     336#    add_poll_args run
     337    command $run
    331338  end
    332339
Note: See TracChangeset for help on using the changeset viewer.