Index: trunk/ippTasks/camera.pro
===================================================================
--- trunk/ippTasks/camera.pro	(revision 19545)
+++ trunk/ippTasks/camera.pro	(revision 19559)
@@ -133,4 +133,5 @@
     book getword camPendingExp $pageName dbname -var DBNAME
     book getword camPendingExp $pageName reduction -var REDUCTION
+    book getword camPendingExp $pageName state -var RUN_STATE
 
     # specify choice of remote host based on camera and chip (class_id)
@@ -154,5 +155,5 @@
     stderr $LOGDIR/camera.exp.log
 
-    $run = camera_exp.pl --exp_tag $EXP_TAG --cam_id $CAM_ID --camera $CAMERA --outroot $outroot --redirect-output
+    $run = camera_exp.pl --exp_tag $EXP_TAG --cam_id $CAM_ID --camera $CAMERA --outroot $outroot --redirect-output --run-state $RUN_STATE
     if ("$REDUCTION" != "NULL")
       $run = $run --reduction $REDUCTION
Index: trunk/ippTasks/stack.pro
===================================================================
--- trunk/ippTasks/stack.pro	(revision 19545)
+++ trunk/ippTasks/stack.pro	(revision 19559)
@@ -141,4 +141,5 @@
     book getword stackSumSkyfile $pageName workdir -var WORKDIR_TEMPLATE
     book getword stackSumSkyfile $pageName dbname -var DBNAME
+    book getword stackSumSkyfile $pageName state -var RUN_STATE
 
     # set the host and workdir based on the skycell hash
@@ -156,5 +157,5 @@
     stderr $LOGDIR/stack.skycell.log
 
-    $run = stack_skycell.pl --threads @MAX_THREADS@ --stack_id $STACK_ID --outroot $outroot --redirect-output
+    $run = stack_skycell.pl --threads @MAX_THREADS@ --stack_id $STACK_ID --outroot $outroot --redirect-output --run-state $RUN_STATE
     add_standard_args run
 
Index: trunk/ippTasks/warp.pro
===================================================================
--- trunk/ippTasks/warp.pro	(revision 19545)
+++ trunk/ippTasks/warp.pro	(revision 19559)
@@ -272,4 +272,5 @@
     book getword warpPendingSkyCell $pageName tess_id -var TESS_DIR
     book getword warpPendingSkyCell $pageName exp_tag -var EXP_TAG
+    book getword warpPendingSkyCell $pageName state -var RUN_STATE
 
     # set the host and workdir based on the skycell hash
@@ -283,5 +284,5 @@
     stderr $LOGDIR/warp.skycell.log
 
-    $run = warp_skycell.pl --threads @MAX_THREADS@ --warp_id $WARP_ID --skycell_id $SKYCELL_ID --tess_dir $TESS_DIR --camera $CAMERA --outroot $outroot --redirect-output
+    $run = warp_skycell.pl --threads @MAX_THREADS@ --warp_id $WARP_ID --skycell_id $SKYCELL_ID --tess_dir $TESS_DIR --camera $CAMERA --outroot $outroot --redirect-output --run-state $RUN_STATE
     add_standard_args run
 
