summaryrefslogtreecommitdiff
path: root/scripts/aggregate.sh
diff options
context:
space:
mode:
authorFredrik Aslund <fredrik.aslund@umu.se>2016-11-04 13:32:15 +0100
committerFredrik Aslund <fredrik.aslund@umu.se>2016-11-04 13:32:15 +0100
commita9b6f8f790f7e6747044144465ff640f69cf92c6 (patch)
tree68f2c34d9f59382c5064d4f97dc2c535d6fe7347 /scripts/aggregate.sh
parent2517a74602375e2fb8c83efc16c341332bd4f6b8 (diff)
always retry aggretation if it failes
Diffstat (limited to 'scripts/aggregate.sh')
-rwxr-xr-xscripts/aggregate.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/aggregate.sh b/scripts/aggregate.sh
index 2981e2fd..35ac1a7b 100755
--- a/scripts/aggregate.sh
+++ b/scripts/aggregate.sh
@@ -9,8 +9,6 @@ last_aggregate_ts=$ODIR/last_aggregate.ts
if find $last_aggregate_ts -mmin -$aggregate_interval_min 2>/dev/null | grep -q . ; then
exit 0
-else
- touch $last_aggregate_ts
fi
rm -f $ODIR/*.xml
@@ -28,3 +26,6 @@ grep -v -e '^#' $ODIR/metadata.lst | grep . | (while read url cert; do
exit $ret
fi
done) || exit $ret
+
+touch $last_aggregate_ts
+