Reputation: 2286
Am I understanding this correctly?
ISchedulerFactory sf = new StdSchedulerFactory();
IScheduler sched = sf.GetScheduler();
sched.Start();
Is the StdSchedulerFactory a singleton?
What I want to achieve is in my global,asax on Application_Start to start up the quartz scheduler, and then later on in one of my classes create the job, the trigger, get a handle again to the scheduler, and schedule the job/trigger
But as it turns out, I need to re-start the scheduler, I thought it was already started?
Or is there now more than 1 scheduler running?
Upvotes: 0
Views: 998
Reputation: 6789
The typical scenarios when embedding the scheduler in ASP.Net are to:
Upvotes: 1