I'm looking for some guidance in getting a Job Scheduler setup for use INSIDE of my MVC3 website. I've been looking at Quartz.NET for this, but am having trouble finding guidance online as far as the setup to make sure it's running when the website is.
With the information above taken into consideration. I'm aware of a couple of the "drawbacks" to setting up a job scheduler inside of IIS. The jobs that I'm looking to setup are simple cleanup jobs where timing is rather unimportant so if IIS goes through and recycles the thread for the website it really just won't be a big deal. ie. If it runs 10 times a day due to recycling/restarting the website thread that would be fine/If it runs once a month because the thread isn't getting started that's fine as well (although quite unlikely).
I seem to recall a question on SO or a post through Google that showed setting it up inside of the Application_Start()
in Global.asax
, but can't find this info anywhere now. Does anyone have any recommendation on how to implement something similar to what I'm talking about?