IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 8, 2008, 2:09:25 PM (18 years ago)
Author:
Paul Price
Message:

Using the standard polling args.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/camera.pro

    r19406 r19421  
    7373
    7474  task.exec
     75    $run = camtool -pendingexp -limit 20
    7576    if ($DB:n == 0)
    7677      option DEFAULT
    77       command camtool -pendingexp -limit 20
    78       # echo command camtool -pendingexp -limit 20
    7978    else
    8079      # save the DB name for the exit tasks
    8180      option $DB:$camera_DB
    82       command camtool -pendingexp -limit 20 -dbname $DB:$camera_DB
    83       # echo command camtool -pendingexp -limit 20 -dbname $DB:$camera_DB
     81      $run = $run -dbname $DB:$camera_DB
    8482      $camera_DB ++
    8583      if ($camera_DB >= $DB:n) set camera_DB = 0
    8684    end
     85    add_poll_args run
     86    command $run
    8787  end
    8888
     
    204204
    205205  task.exec
     206    $run = camtool -pendingcleanuprun -limit 20
    206207    if ($DB:n == 0)
    207208      option DEFAULT
    208       command camtool -pendingcleanuprun -limit 20
    209209    else
    210210      # save the DB name for the exit tasks
    211211      option $DB:$camera_cleanup_DB
    212       command camtool -pendingcleanuprun -limit 20 -dbname $DB:$camera_cleanup_DB
     212      $run = $run -dbname $DB:$camera_cleanup_DB
    213213      $camera_cleanup_DB ++
    214214      if ($camera_cleanup_DB >= $DB:n) set camera_cleanup_DB = 0
    215215    end
     216    add_poll_args run
     217    command $run
    216218  end
    217219
Note: See TracChangeset for help on using the changeset viewer.