Index: branches/eam_branches/ipp-20220316/ippTasks/automate.pro
===================================================================
--- branches/eam_branches/ipp-20220316/ippTasks/automate.pro	(revision 42115)
+++ branches/eam_branches/ipp-20220316/ippTasks/automate.pro	(revision 42204)
@@ -17,4 +17,19 @@
 # DONE (action finished)
 
+macro automate.status
+
+  ## Pull out the ones that are to be run regularly
+  local npages
+  book npages automate -var npages
+  for i 0 $npages
+    book getpage automate $i -var pageName
+    echo $i : $pageName
+    book getword automate $pageName pantaskState -var myState
+    if ("$myState" != "NULL")
+      echo $pageName : $myState
+    end
+  end
+end
+
 macro automate.reset
   ## probably should not always init
@@ -27,7 +42,15 @@
     break
   end
-  queueload tmp -x "cat $MODULES:0/$1"
+
+  file $1 isFound
+  if ($isFound)
+    queueload tmp -x "cat $1"
+  else
+    # search module path list for existing file
+    queueload tmp -x "cat $MODULES:0/$1"
+  end
 
   pwd -var cwd
+  $username = `whoami`
 
   ## interpolate standard values
@@ -35,6 +58,4 @@
   queuesubstr tmp @DBNAME@ $3
   queuesubstr tmp @CWD@ $cwd
-
-  $username = `whoami`
   queuesubstr tmp @USER@ $username
 
