bulk sms confusion... what is best practice
I have many clients to whom I want to give a control panel where they can upload mobile numbers and can send bulk sms. I have a third party sms service which provide me an http url which allows me to send sms. I run that url via cron job at a scheduled time to send sms. Everything works out perfect just I have some queries.
What I will do is I will create separate login for my each client. Once they log in they will upload their list of mobile numbers at will type their sms at will schedule it for sending.
For example I have 3 clients who upload 1000 mobile numbers each to send sms. They will be inserted into mobile table. Let's say each of them will schedule their sms to start at 5pm on same date. My scriptin cron file will check which are the sms scheduled for 5pm and will start the loop for those 3000 mobile numbers.
Now I want to know the best practice.
If I query the loop to run ascending obviously the one uploaded the numbers first will get his sms start sending first and if I do descending the one who upload in the end will get his sms sending first.
Should I pick the numbers randomly and set their status as 1 means they are picked and sent sms. This way all 3 clients numbers will start getting their sms.
Or is there any other proper way to do all these.
Any help in this regard will highly be appreciated.
or should I pick up all 3 sms messages and start them via curl in cron file
Hello, can anyone help and give some ideas
If you have bulk SMS, why haven't the company you are using given you an FTP option? You upload the SMS and the Number as a file, the file can contain 1 or 10,000 messages.
--> JQuery questions here <-- ... and please remember to wrap any code you have in forum tags:-
[CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]
If you can't think outside the box, you will be trapped forever with no escape...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)