IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19426


Ignore:
Timestamp:
Sep 8, 2008, 3:44:32 PM (18 years ago)
Author:
Paul Price
Message:

Add polling arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/fake.pro

    r19406 r19426  
    7373
    7474  task.exec
     75    $run = faketool -pendingimfile -limit 20
    7576    if ($DB:n == 0)
    7677      option DEFAULT
    77       command faketool -pendingimfile -limit 20
    7878    else
    7979      # save the DB name for the exit tasks
    8080      option $DB:$fakeImfile_DB
    81       command faketool -pendingimfile -limit 20 -dbname $DB:$fakeImfile_DB
     81      $run = $run -dbname $DB:$fakeImfile_DB
    8282      $fakeImfile_DB ++
    8383      if ($fakeImfile_DB >= $DB:n) set fakeImfile_DB = 0
    8484    end
     85    add_poll_args run
     86    command $run
    8587  end
    8688
     
    194196
    195197  task.exec
     198    $run = faketool -pendingcleanuprun -limit 20
    196199    if ($DB:n == 0)
    197200      option DEFAULT
    198       command faketool -pendingcleanuprun -limit 20
     201      command
    199202    else
    200203      # save the DB name for the exit tasks
    201204      option $DB:$fake_cleanup_DB
    202       command faketool -pendingcleanuprun -limit 20 -dbname $DB:$fake_cleanup_DB
     205      $run = $run -dbname $DB:$fake_cleanup_DB
    203206      $fake_cleanup_DB ++
    204207      if ($fake_cleanup_DB >= $DB:n) set fake_cleanup_DB = 0
    205208    end
     209    add_poll_args run
     210    command $run
    206211  end
    207212
Note: See TracChangeset for help on using the changeset viewer.