From ef43b81cb675042ff5f821db006cf26740cf01a6 Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Mon, 9 May 2022 14:41:30 -0400 Subject: [PATCH] this will now update the disk_check_exclude.txt file before doing any deleting --- scripts/disk_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/disk_check.sh b/scripts/disk_check.sh index 585a391..635cee1 100755 --- a/scripts/disk_check.sh +++ b/scripts/disk_check.sh @@ -8,7 +8,7 @@ if [ "${used//%}" -ge 95 ]; then case $FULL_DISK in purge) echo "Removing oldest data" cd ${EXTRACTED}/By_Date/ - + curl localhost/views.php?view=Species%20Stats &>/dev/null iter=0 for i in */*/*; do if [ $iter -ge 250 ]; then