always resend error.txt SMS
This commit is contained in:
parent
0604175f3e
commit
9ea0b7fad9
|
@ -17,7 +17,7 @@ sudo service gammu-smsd stop
|
||||||
########################################################################
|
########################################################################
|
||||||
########################################################################
|
########################################################################
|
||||||
echo "RETRY ERROR MESSAGE"
|
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
|
phonehash=$(echo "${tosend}" | cut -d '/' -f 7) && [[ $phonehash == "*" ]] && continue
|
||||||
xzuid=$(cat "/home/${YOU}/.zen/SMS/PHONE/${phonehash}/xzuid.txt")
|
xzuid=$(cat "/home/${YOU}/.zen/SMS/PHONE/${phonehash}/xzuid.txt")
|
||||||
[[ ! $xzuid ]] && echo "ERROR $tosend" && continue
|
[[ ! $xzuid ]] && echo "ERROR $tosend" && continue
|
||||||
|
|
Loading…
Reference in New Issue