Twilio not sending SMS

Support forumCategory: QuestionsTwilio not sending SMS
petra_de_jong asked 6 years ago
Hi Nikola, I have set up the Twilio account, bought the phone number and succesfully set up the API's. Twilio has send some SMS messages, when I was working with it. Not all according to plan, but....
But now it is not sending anything anymore.

I do have a WP-cron message:
Your Cron is running inside WordPress! Please consider setting Cron to run from System Task Scheduler! By doing that all background task are going to execute on time and without any limitation. Please follow official WordPress guide on Hooking WP-Cron Into the System Task Scheduler.

Could this be the reason SMS is not working properly? Now I am not a developer and I choose to use Twilio within the plugin to keep it simple. I do not understand what cron is and how to set this up.
Can you help me?

Petra
4 Answers
Nikola Loncar Staff answered 6 years ago
Hi Petra, setting cron is couple of minutes work. You can find more details on that on this link. Cron will solve the issue for reminder SMS notifications. Also can you please tell me do you have latest version of extension plugin (0.9.10)? Best regards, Nikola
petra_de_jong answered 6 years ago
Hi Nikola, I had to use the ping by cron-job.org option, as my hosting did not have cron. I understand that I still might have a problem. What do you mean by "you will still have time limitation on Cron execution that is in most cases 30 seconds"? Will it work or not?
I updated to latest version of the extension.

I noticed there are some cron-plugins as well. Would that work as well?
Nikola Loncar Staff replied 6 years ago

cron-job.org should do the trick in your case. Other cron plugins are doing same thing and also allow you to reschedule cron task that should run in background.

Best regards,
Nikola

petra_de_jong replied 6 years ago

unfortunately I still did not receive the reminder SMS. I have the latest version of the extension, set the cron-job to “GET” every 5 minutes (no settings in the Advanced section) and send it to: http://my_sites_name.nl/wp-cron.php.
What is going wrong?

Nikola Loncar Staff replied 6 years ago

Hi Petra can you please tell me, you receive SMS after creating but not receiving reminder?

Best regards,
Nikola

petra_de_jong replied 6 years ago

Sms after creating: yes.
sms reminder: no.
What I need is reminder, the other one I do not want/need.

Nikola Loncar Staff replied 6 years ago

Hi Petra looks like cron is not working right. Is there any message at top of the Extension settings regarding Cron?

Best regards,
Nikola

petra_de_jong replied 6 years ago

Still the same comment:
Your Cron is running inside WordPress! Please consider setting Cron to run from System Task Scheduler! By doing that all background task are going to execute on time and without any limitation. Please follow official WordPress guide on Hooking WP-Cron Into the System Task Scheduler.

Nikola Loncar Staff answered 6 years ago
Hi new version is here can you update Extension plugin? Best regards, Nikola
petra_de_jong answered 6 years ago
Hi, for some reason the update of extension - connect is not possible. I get an error message
Nikola Loncar Staff replied 6 years ago

I will send you the link for the download to email. You will have just to override files.

Best regards,
Nikola

petra_de_jong replied 6 years ago

I now have 0.9.11 installed. Tomorrow afternoon I will know if it works correctly