From 151106e759f04cfd70fbb639a7a3a0cb8c150808 Mon Sep 17 00:00:00 2001 From: jamesletts Date: Mon, 28 Apr 2014 12:17:09 -0700 Subject: [PATCH] Create condor_history_dump.sh --- condor_history_dump.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 condor_history_dump.sh diff --git a/condor_history_dump.sh b/condor_history_dump.sh new file mode 100644 index 0000000..c355493 --- /dev/null +++ b/condor_history_dump.sh @@ -0,0 +1,12 @@ +#!/bin/sh +source /home/letts/scripts/condor_functions.sh +POOLNAME="glidein-collector-2.t2.ucsd.edu" + +OUTFILE=/crabprod/CSstoragePath/Monitor/monitor-anaops-history-`/bin/date +%F-Z%R -u`.txt +condor_history_dump $POOLNAME > ${OUTFILE}.tmp +mv ${OUTFILE}.tmp $OUTFILE + +OUTFILE=/crabprod/CSstoragePath/Monitor/latest-history.txt +/home/letts/scripts/condor_history_analyze.sh $POOLNAME > ${OUTFILE}.tmp +mv ${OUTFILE}.tmp $OUTFILE +exit