Index: trunk/ippTasks/chip.pro
===================================================================
--- trunk/ippTasks/chip.pro	(revision 18342)
+++ trunk/ippTasks/chip.pro	(revision 18363)
@@ -29,10 +29,10 @@
     active true
   end
-#  task chip.cleanup.load
-#    active true
-#  end
-#  task chip.cleanup.run
-#    active true
-#  end
+  task chip.cleanup.load
+    active true
+  end
+  task chip.cleanup.run
+    active true
+  end
 end
 
@@ -192,5 +192,5 @@
   periods      -timeout 30
   npending     1
-  active       false
+  active       true
 
   stdout NULL
@@ -213,5 +213,5 @@
   task.exit    0
     # convert 'stdout' to book format
-    ipptool2book stdout chipPendingCleanup -key chip_id:class_id -uniq -setword dbname $options:0 -setword pantaskState INIT
+    ipptool2book stdout chipPendingCleanup -key chip_id -uniq -setword dbname $options:0 -setword pantaskState INIT
     if ($VERBOSE > 2)
       book listbook chipPendingCleanup
@@ -233,10 +233,10 @@
 end
 
-# run the chip_imfile.pl script on pending images
+# run the ipp_cleanup.pl script on pending images
 task	       chip.cleanup.run
   periods      -poll $RUNPOLL
   periods      -exec $RUNEXEC
   periods      -timeout 60
-  active       false
+  active       true
 
   task.exec
@@ -251,10 +251,10 @@
     book setword chipPendingCleanup $pageName pantaskState RUN
     book getword chipPendingCleanup $pageName camera -var CAMERA
-    book getword chipPendingCleanup $pageName cleanup_mode -var CLEANUP_MODE
+    book getword chipPendingCleanup $pageName state -var CLEANUP_MODE
     book getword chipPendingCleanup $pageName chip_id -var CHIP_ID
     book getword chipPendingCleanup $pageName dbname -var DBNAME
 
     # specify choice of local or remote host based on camera and chip (class_id)
-    set.host.for.camera $CAMERA $CLASS_ID
+    set.host.for.camera $CAMERA FPA
 
     stdout $LOGDIR/chip.cleanup.log
