no more checking backlog -- we'll see
This commit is contained in:
+3
-3
@@ -13,6 +13,6 @@ if [[ "$(find ${PROCESSED} | wc -l)" -ge 100 ]];then
|
|||||||
ls -1t . | tail -n +100 | xargs -r rm -vv
|
ls -1t . | tail -n +100 | xargs -r rm -vv
|
||||||
fi
|
fi
|
||||||
|
|
||||||
accumulated_files=$(find $RECS_DIR -path $PROCESSED -prune -o -path $EXTRACTED -prune -o -type f -print | wc -l)
|
#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
|
#[ $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
|
#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
|
||||||
|
|||||||
Reference in New Issue
Block a user