Scheduler for ASP.NET?

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 framework to get scheduling?

Thanks

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

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.

Method 2

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


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x