Click here to Skip to main content
16,020,249 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI Guys

I would like to know is it possible to create a webservice that runs at a specific time daily?

What I have tried:

I know how to create a windows service that runs on a scheduled time just would like to know if it is possible with a web service
Posted

Web service does not process anything on it's own. It only processes when request is received. If you want to post scheduled requests to web service, you can make use of a windows service or a scheduled task.
 
Share this answer
 
Comments
IsiR_19 12-Feb-16 3:33am    
Thanks
If you know how to write a scheduling service then write one that calls your webservice method at the desired time. Different ways to do this depending what you're after

How to: Send Data Using the WebRequest Class[^]

WebClient Class (System.Net)[^]
 
Share this answer
 
Comments
IsiR_19 12-Feb-16 3:33am    
Thanks

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