summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xguardfraction_cron.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/guardfraction_cron.sh b/guardfraction_cron.sh
index 8ca1d78..a869930 100755
--- a/guardfraction_cron.sh
+++ b/guardfraction_cron.sh
@@ -91,7 +91,7 @@ fi
[ "$VERBOSE" -gt 0 ] && echo "[*] Imported!"
# Calculate guardfraction
-if ! python guardfraction.py --db-file="$STATE_DIR/guardfraction.db" --output="$GUARDFRACTION_OUTPUT_FILE" "$DAYS_WORTH"
+if ! python guardfraction.py --delete-expired --db-file="$STATE_DIR/guardfraction.db" --output="$GUARDFRACTION_OUTPUT_FILE" "$DAYS_WORTH"
then
echo >&2 "Failed during guardfraction calculation."
exit 1