如何在IIS中自动运行我的应用程序10分钟

问题描述:

嗨朋友们。 ....



请帮助我。



我在IIS中放置了我的Web应用程序项目(Gmail.sln)。

每10分钟,我需要自动在后台运行此应用程序。

什么是最好的方法????

将来,我会编写一个Web服务并将该应用程序调用10分钟。

但截至目前,我需要解决方案。我是否需要在代码中设置定时器???



怎么做????在后台自动运行我的应用程序(.sln文件)在后台每隔10分钟而不打开项目...

Hi friends. ....

kindly help me.

I've a put my web application project(Gmail.sln) in IIS.
For every 10 mins, I need to run this application in background automatically.
What is the best way????
In future, I will write a web service and calls that application for 10 mins.
But as of now, I need the solution. Do I need to set Timer in code???

How to do that ???? To run my app(.sln file) in IIS for every 10mins in background automatically without opening the project...

您可以使用以下命令创建一个Windows服务计时器来达到你的要求。
You can simply create a windows service using the timer to achieve your requirement.