SMS是否可以保存并计划在Twilio中交付?如果没有,我该如何完成? [英] Can SMS be saved and scheduled for delivery in Twilio? If not, how do I get this done?

查看:69
本文介绍了SMS是否可以保存并计划在Twilio中交付?如果没有,我该如何完成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚注册了一个Twilio试用帐户.我没有看到任何功能可以说明如何创建和保存多条SMS消息供以后使用,以及计划何时将其发送到网上论坛.这可能吗?还是为此有更好的软件?

I just signed up for a Twilio trial account. I'm not seeing any feature speaking to how I can create and save multiple SMS messages for later and schedule when to send them to a group. Is this possible? Or is there a better software for this?

推荐答案

此处是Twilio的传播者.

Twilio evangelist here.

查看您的个人资料,似乎您的首选语言是PHP,所以我建议对cron任务使用许多PHP库之一,例如PHPCron,PHPJobScheduler或Piwik平台.

Looking at your profile, seems your preferred language is PHP, so what I would suggest is using one of the many PHP libraries for cron tasks such as PHPCron, PHPJobScheduler or with the Piwik Platform.

使用Piwik,您可以执行以下操作:

With Piwik you could do something like:

class Tasks extends \Piwik\Plugin\Tasks
{
    public function schedule()
    {
        $this->daily('myTask');   // method will be executed once every day
    }

    public function myTask()
    {
        You SMS messages to be sent here
    }
}

使用此功能,您可以安排任意数量的任务,并在希望发送它们时发送SMS.

With this, you can schedule as many tasks as you'd like, and have the SMS's sent at the time you want them to be sent.

几乎每个平台都会有任务调度程序,您甚至可以执行

There are going to be task schedulers to pretty much every single platform, and you could even do those via cron tasks.

这篇关于SMS是否可以保存并计划在Twilio中交付?如果没有,我该如何完成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆