always resend error.txt SMS

This commit is contained in:
qo-op 2021-07-12 12:06:15 +02:00
parent 0604175f3e
commit 9ea0b7fad9
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ sudo service gammu-smsd stop
########################################################################
########################################################################
echo "RETRY ERROR MESSAGE"
for tosend in /home/${YOU}/.zen/SMS/PHONE/*/*.tosend.sh.error.txt; do
for tosend in /home/${YOU}/.zen/SMS/PHONE/*/*.error.txt; do
phonehash=$(echo "${tosend}" | cut -d '/' -f 7) && [[ $phonehash == "*" ]] && continue
xzuid=$(cat "/home/${YOU}/.zen/SMS/PHONE/${phonehash}/xzuid.txt")
[[ ! $xzuid ]] && echo "ERROR $tosend" && continue