scheduled sms in asp.net

Posted by Klbaiju under ASP.NET on 5/5/2015 | Points: 10 | Views : 410 | Status : [Member] | Replies : 1
Hi,

I have a travel related application ,in which iam using sms facility.and sending sms is working fine.

my requirement is to send sms to users one day before the journey.

it should be at 08:00 pm every day. automatically

how it is possible.


Regards

Baiju




Responses

Posted by: Jopito on: 6/5/2015 [Member] Starter | Points: 25

Up
0
Down
Hello .This is workable idea.I assume you have list of users with something like DepartureDate .Create a windows service which runs against all users in your database.Foreach records of users,check if datetime for today plus 1 day will be equals to the departure date of the traveller and whether current time is 8pm .If it meets all this requirements,invoke your sms api to remind the user about his journey.

Thanks

Mark as answer if satisfied

Klbaiju, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response