I have tried the code above and it looks very interesting. I also tried the AdoJobStore and it is not working for me. I am guessing it has to do with the set up for OWIN. Here is what I am using
public void Configuration(IAppBuilder app)
{
NameValueCollection properties = new NameValueCollection
{
{ "quartz.serializer.type", "json" }
};
properties["quartz.jobStore.lockHandler.type"] = "Quartz.Impl.AdoJobStore.UpdateLockRowSemaphore, Quartz";
properties["quartz.jobStore.driverDelegateType"] = "Quartz.Impl.AdoJobStore.SqlServerDelegate, Quartz";
properties["quartz.jobStore.dataSource"] = "default";
properties["quartz.dataSource.default.connectionString"] = "Server=myserver; Database=mydatabase; User Id=sa; Password=mypwd";
properties["quartz.dataSource.default.provider"] = "SqlServer";
properties["quartz.jobStore.type"] = "Quartz.Impl.AdoJobStore.JobStoreTX, Quartz";
properties["quartz.jobStore.useProperties"] = "true";
properties["quartz.jobStore.tablePrefix"] = "QRTZ_";
StdSchedulerFactory factory = new StdSchedulerFactory(properties);
IScheduler scheduler = factory.GetScheduler().Result;
//scheduler.Start();
app.UseQuartzmin(new QuartzminOptions()
{
Scheduler = scheduler,
DefaultDateFormat = "dd.MM.yyyy",
});
}
The db has jobs in it and triggers but the plug in dashboard just shows 0. No errors are raised so I am scratching my head. Can you give me any ideas?