Index: trunk/tools/eam/rawfix.20230221/src/rawfix.ckchip.pt
===================================================================
--- trunk/tools/eam/rawfix.20230221/src/rawfix.ckchip.pt	(revision 42405)
+++ trunk/tools/eam/rawfix.20230221/src/rawfix.ckchip.pt	(revision 42406)
@@ -86,12 +86,11 @@
   end
 
+  ## XX delete the page from the book if done?
   task.exit 0
     # convert the stdout 'queue' to entries in a book
     # fields in the table will become words in the page
-    queuesize stdout -var Nhosts
-    queue2book -raw-columns -key dateobs:md5host -uniq -setword pantaskState INIT stdout md5host.book
-    book setword ckchip.book $options:0 NHOST {$Nhosts - 1}
-    book setword ckchip.book $options:0 NDONE 0
     # use the queuesize (Nhosts) to track how many jobs are done / to be done
+    exec update.rawfix.sh $options:0 ckchip.done
+    book delpage ckchip.book $options:0
   end
 
@@ -100,4 +99,5 @@
     showcommand failure
     book setword ckchip.book $options:0 pantasksQuality FAIL
+    exec update.rawfix.sh $options:0 ckchip.fail
   end
 
@@ -105,4 +105,5 @@
     showcommand crash
     book setword ckchip.book $options:0 pantasksQuality CRASH
+    exec update.rawfix.sh $options:0 ckchip.fail
   end
 
@@ -111,4 +112,5 @@
     showcommand timeout
     book setword ckchip.book $options:0 pantasksQuality TIMEOUT
+    exec update.rawfix.sh $options:0 ckchip.fail
   end
 end
