From 9bbe54f9a4bd62ff12d36581bd86fa0ebde78848 Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Mon, 11 Jul 2022 10:14:18 -0400 Subject: [PATCH] no more checking backlog -- we'll see --- scripts/cleanup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/cleanup.sh b/scripts/cleanup.sh index ebf42a8..4c009f3 100755 --- a/scripts/cleanup.sh +++ b/scripts/cleanup.sh @@ -13,6 +13,6 @@ if [[ "$(find ${PROCESSED} | wc -l)" -ge 100 ]];then ls -1t . | tail -n +100 | xargs -r rm -vv fi -accumulated_files=$(find $RECS_DIR -path $PROCESSED -prune -o -path $EXTRACTED -prune -o -type f -print | wc -l) -[ $accumulated_files -ge 10 ] && stop_core_services.sh -echo "$(date "+%b %e %I:%M:%S") Stopped Core Services -- It looks like analysis stopped. Check raw recordings in $RECS_DIR and check the birdnet_analysis.service and birdnet_server.service \"journalctl -eu birdnet_analysis -u birdnet_server\"" | sudo tee -a /var/log/syslog +#accumulated_files=$(find $RECS_DIR -path $PROCESSED -prune -o -path $EXTRACTED -prune -o -type f -print | wc -l) +#[ $accumulated_files -ge 10 ] && stop_core_services.sh +#echo "$(date "+%b %e %I:%M:%S") Stopped Core Services -- It looks like analysis stopped. Check raw recordings in $RECS_DIR and check the birdnet_analysis.service and birdnet_server.service \"journalctl -eu birdnet_analysis -u birdnet_server\"" | sudo tee -a /var/log/syslog