From 5efef6a699a15b5d73d9ff741af9a728a34a2a12 Mon Sep 17 00:00:00 2001 From: JAMES LETTS Date: Tue, 20 May 2014 23:05:41 -0700 Subject: [PATCH] Updated. --- make_html_page.sh | 150 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100755 make_html_page.sh diff --git a/make_html_page.sh b/make_html_page.sh new file mode 100755 index 0000000..e72face --- /dev/null +++ b/make_html_page.sh @@ -0,0 +1,150 @@ +#!/bin/bash +if [ -z $glideinWMSMonitor_OUTPUT_DIR ] ; then + echo "Error, glideinWMSMonitor_OUTPUT_DIR not defined!" + exit 1 +else + source $glideinWMSMonitor_RELEASE_DIR/bashrc +fi + +OUTFILE=$glideinWMSMonitor_OUTPUT_DIR/test2.html +INFILE=$glideinWMSMonitor_OUTPUT_DIR/latest.txt +FILES=`find $glideinWMSMonitor_OUTPUT_DIR -type f -name 'monitor-anaops-2014*.txt' -mtime -1 | sort` + +# Reference: https://developers.google.com/chart/interactive/docs/gallery/areachart + +# beginning of the html file: +cat >$OUTFILE < + + + + + +
+

CMS Analysis Monitoring for glideinWMS (remoteGlidein)

+
+
+
+
+
+
+
+
+
+
+EOF
+
+cat $INFILE >>$OUTFILE
+
+cat >>$OUTFILE <
+  
+
+EOF
+
+exit 0