scheduled sms in

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

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.




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

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.


Mark as answer if satisfied

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

Login to post response