Can you run a “service” that runs a scheduled task from an ASP.Net project?

十年热恋 提交于 2019-12-05 08:40:19

By default IIS will shutdown an idle process. You can change this though, but you still face the risk that a web process can't be guaranteed to be running. The worker process setting should go some way to keeping it running.

Use Window's Task Scheduler....this is a perfect example of what it's for. You can have it call your assembly directly or you can just use it to call a WCF endpoint in your website.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!