Automatic scheduled SMS broadcast | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through November 04, 2008 ⬆ |
◄ ► |
Author | Message | |||
Jae Jun New member Username: Jjun0366 Post Number: 1 Registered: 11-2008 |
Is there a way to schedule automated sms broadcasts throughout the day? Currently we have the distribution lists all set up, but how do I go about getting it automated to send to the distribution list every hour? | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 7675 Registered: 10-2002 |
If you already have the information generated ahead of time and want to queue it for submission at a later date/time, in NowSMS 2007 & 2008, you can use the URL parameter "&DelayUntil=YYYYMMDDHHMM" to specify the date and time until which the message should be delayed, where YYYY is the year, MM is the month, DD is the day, HH is the hour (in 24 hour format), and MM is the minutes. This parameter can also be specified when using the "Send Text Message" web interface form, where this parameter corresponds to the "Delayed Delivery" field of the form. -bn | |||
Jae Jun New member Username: Jjun0366 Post Number: 2 Registered: 11-2008 |
Thanks for the response. So I would have to enter in the URL parameter each time? I need to send out 5 sms broadcasts at the same time each day and want it to be automated rather than me having to send the text manually. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 190 Registered: 08-2008 |
Yes. There is no way to schedule a broadcast that is repeated. Each submission will only be delivered once. For a repeated task like this, I'd probably use the "scheduled task" facility within Windows. I'd write a simple script that does the message submission that I want. And then I'd use "scheduled task" to configure it to run every day at the time that I wanted. I wouldn't bother using the "&DelayUntil=" URL parameter in NowSMS. Instead, I'd rely on the task scheduler in Windows to trigger it at the time that I wanted the broadcast to go out. Figuring out the Windows scheduled tasks bit is relatively easy ... but you're probably wondering what type of script you would write. There's an example script at the following link: http://www.nowsms.com/support/bulletins/tb-nowsms-008.htm Basically, all this script does is parse command line parameters and generate an HTTP URL submission. At a minimum, you need to edit the script to put in a username/password for connecting to your NowSMS server. And an IP address or host name for the server. You can then either modify it to hard code the message and distribution list, or you could pass those parameters on the command line. (A distribution list name can be specified instead of a phone number in the command line parameters.) -- Des NowSMS Support | |||
Jae Jun New member Username: Jjun0366 Post Number: 3 Registered: 11-2008 |
thanks for that. That makes a lot of sense. |