this will now update the disk_check_exclude.txt file

before doing any deleting
This commit is contained in:
mcguirepr89
2022-05-09 14:41:30 -04:00
parent 86113cbdd6
commit ef43b81cb6
+1 -1
View File
@@ -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