Skip to content

A live bird collage card for your Home Assistant dashboard.

this will now update the disk_check_exclude.txt file before doing any deleting

mcguirepr89ef43b81cb675
diff --git a/scripts/disk_check.sh b/scripts/disk_check.sh
index 585a3916..635cee19 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