You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by de...@apache.org on 2017/11/06 20:26:12 UTC

svn commit: r1814439 - /uima/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/tools-ducc-watcher.tex

Author: degenaro
Date: Mon Nov  6 20:26:12 2017
New Revision: 1814439

URL: http://svn.apache.org/viewvc?rev=1814439&view=rev
Log:
UIMA-5599 DUCC JD node allocation and watching improvements

Add sample ducc_watcher crontab in DUCC Book.

Modified:
    uima/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/tools-ducc-watcher.tex

Modified: uima/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/tools-ducc-watcher.tex
URL: http://svn.apache.org/viewvc/uima/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/tools-ducc-watcher.tex?rev=1814439&r1=1814438&r2=1814439&view=diff
==============================================================================
--- uima/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/tools-ducc-watcher.tex (original)
+++ uima/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part2/cli/tools-ducc-watcher.tex Mon Nov  6 20:26:12 2017
@@ -53,4 +53,14 @@
             
   \paragraph{Notes:}
     This command is meant to monitor DUCC daemons status and report only when there is a change, e.g. from up to down.
-       
\ No newline at end of file
+  
+  \paragraph{crontab:}
+  
+    Below is a sample {\em crontab} to check the state of DUCC head node daemons as well as
+    the JobDriver allocation every 5 minutes, and to send e-mail when there is a status change.
+    
+    \begin{verbatim}
+    
+    */5 * * * *  /home/ducc/ducc_runtime/bin/ducc_watcher --target http://uima-ducc-demo.apache.org:42133 --job-driver-allocation JobDriver --email degenaro@apache.org
+    
+    \end{verbatim}
\ No newline at end of file