Scheduler for ASP.NET?

后端 未结 2 1270
感动是毒
感动是毒 2021-01-07 06:19

I want to run some of my apps code every night in some sort of task or scheduler. Is there any build in functionality in the framework? If not, whats an easy 3rd party frame

相关标签:
2条回答
  • 2021-01-07 06:53

    You can create a console application and run it as a scheduled task. Alternatively you could look at using Quartz.Net which is a port of the Java Quartz, a framework for scheduling jobs.

    Either way your finished product will likely be a console application that is scheduled to run with scheduled tasks, or a class library as a Windows Service. ASP.NET its self won't do the scheduling.

    0 讨论(0)
  • 2021-01-07 06:59

    If you can, you could use IIS 7.5 Application Warm-Up Module : http://blogs.iis.net/thomad/archive/2009/10/14/now-available-the-iis-7-5-application-warm-up-module.aspx

    0 讨论(0)
提交回复
热议问题