I have a web application developed in C# that retrieves data from a database and writes the retrieved to a file. What i need to do is to be able to run this web app regularly on my server(Microsoft server), say once a day to update the data. I think using a schedular would be the way to do it but I don’t know how to get it to run my web app i.e my .sln file. I looked at the post below for ideas:
Running a web app automatically
but need a little more guidance.
I have a web application developed in C# that retrieves data from a database
Share
You could write a console application which will send an HTTP request to the web application:
and then configure the Windows Scheduler to run this console application at given time.