master
parent bb948b4783
commit 3f861a41b9

@ -182,7 +182,7 @@ echo $minute > $antispam
echo -e $sms_string echo -e $sms_string
sms_body="[${smsdate}] ${sms_string}" sms_body="[${smsdate}] ${sms_string}"
sms_response=`curl -X POST https://api.twilio.com/2010-04-01/Accounts/$sms_account}/Messages.json --data-urlencode "Body=${sms_body}" --data-urlencode "From=${sms_from}" --data-urlencode "To=${sms_to}" -u ${sms_userauth} 2>/dev/null` sms_response=`curl -X POST https://api.twilio.com/2010-04-01/Accounts/${sms_account}/Messages.json --data-urlencode "Body=${sms_body}" --data-urlencode "From=${sms_from}" --data-urlencode "To=${sms_to}" -u ${sms_userauth} 2>/dev/null`
echo -e "___________________________________________________________\n" >> ~/pisms.log echo -e "___________________________________________________________\n" >> ~/pisms.log

Loading…
Cancel
Save