Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

In my asp.net web application am sending daily one SMS to registered users in my site manually,

Now i want to fix some timing and at that scheduled timings web services should run automatically and send SMS to users.

Please help me.


Regards
Nagaraj.J
Posted

1 solution

Web Services/Applications work on Request-Response model. So, you can not activate a web service itself to wake up and send SMS at certain time.

I would suggest to build a client application to call web service at a specific time.

You can do it in several ways but simplest would be write a console App (or even a PowerShell Script) to call web service and use Windows Scheduler to configure running at specific time.

There link can explain further:

http://msdn.microsoft.com/en-us/magazine/cc163821.aspx[^]

Scheduled Tasks Web Service[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900