Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MVC 3 With Quartz.Net

I currently have a UI in MVC 3 that allows users and admins to configure and create Jobs, Tasks, and specific configuration values into the application. I want to implement Quartz.Net to use for scheduling, launching, and logging job execution. I was looking for some help in configuring the MVC 3 app to use quartz. Where should I put the Quartz.Net config values? Web.Config? Or separate Quartz.Config file? I plan to use the AdoJobStor. Do I have to implement a Singleton class for using the Quartz.Net Scheduler in various areas of my MVC 3 app?

Thanks for the help.....

like image 509
M4V3R1CK Avatar asked Jan 29 '26 05:01

M4V3R1CK


1 Answers

I would start with the tutorial.
There's pretty much everything you need to know to start with it.
You can configure quartz.net via config file or programmatically, as explained here.
Loads of useful information here in S.O.:

Configuring ADOJobStore with Quartz.net. Some more infos here and here.

Configuring logging.

If you want to use Quartz.net in you asp.net you have to use singleton schedulers.

like image 71
LeftyX Avatar answered Feb 01 '26 01:02

LeftyX



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!