如何在IIS中自动运行我的应用程序10分钟 [英] How to run my app in IIS automatically for 10 mins

查看:74
本文介绍了如何在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.


这篇关于如何在IIS中自动运行我的应用程序10分钟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆