Index: trunk/ippTasks/diff.pro
===================================================================
--- trunk/ippTasks/diff.pro	(revision 19406)
+++ trunk/ippTasks/diff.pro	(revision 19460)
@@ -81,14 +81,16 @@
 
   task.exec
+    $run = difftool -todiffskyfile -limit 20
     if ($DB:n == 0)
       option DEFAULT
-      command difftool -todiffskyfile -limit 20
     else
       # save the DB name for the exit tasks
       option $DB:$diffSkycell_DB
-      command difftool -todiffskyfile -limit 20 -dbname $DB:$diffSkycell_DB
+      $run = $run -dbname $DB:$diffSkycell_DB
       $diffSkycell_DB ++
       if ($diffSkycell_DB >= $DB:n) set diffSkycell_DB = 0
     end
+    add_poll_args run
+    command $run
   end
 
@@ -203,14 +205,16 @@
 
   task.exec
+    $run = difftool -pendingcleanuprun -limit 20
     if ($DB:n == 0)
       option DEFAULT
-      command difftool -pendingcleanuprun -limit 20
     else
       # save the DB name for the exit tasks
       option $DB:$diffCleanup_DB
-      command difftool -pendingcleanuprun -limit 20 -dbname $DB:$diffCleanup_DB
+      $run = $run -dbname $DB:$diffCleanup_DB
       $diffCleanup_DB ++
       if ($diffCleanup_DB >= $DB:n) set diffCleanup_DB = 0
     end
+    add_poll_args run
+    command $run
   end
 
