diff --git a/scripts/species_notifier.sh b/scripts/species_notifier.sh index 5a2bec5..9cb76e7 100755 --- a/scripts/species_notifier.sh +++ b/scripts/species_notifier.sh @@ -6,6 +6,8 @@ source /etc/birdnet/birdnet.conf lastcheck="$(mktemp)" +[ -f ${IDFILE} ] || touch ${IDFILE} + cp ${IDFILE} ${lastcheck} /home/pi/BirdNET-Pi/scripts/new_update_species.sh