|
|
|
@ -182,7 +182,7 @@ echo $minute > $antispam
|
|
|
|
|
|
|
|
|
|
echo -e $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
|
|
|
|
|