Scheduler for ASP.NET?

后端 未结 2 1269
感动是毒
感动是毒 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.

提交回复
热议问题