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