You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that I've set up a persistent store (using SQL Server) and I've set up the ExecutionHistoryPlugin as well.
If you use services.AddSilkierQuartz() various bits of the above get overwritten through the use of SilkierQuartz's UseQuartzHostedService() that is inside that call, as well as it overriding the SchedulerFactory. Instead of using that then, I pulled out the service registrations that you need:
Not an issue so much but possibly useful for other people looking at this library.
I have an existing set up using the main libraries QuartzHostedService. So, my service configuration looks like:
Note that I've set up a persistent store (using SQL Server) and I've set up the ExecutionHistoryPlugin as well.
If you use
services.AddSilkierQuartz()
various bits of the above get overwritten through the use of SilkierQuartz'sUseQuartzHostedService()
that is inside that call, as well as it overriding the SchedulerFactory. Instead of using that then, I pulled out the service registrations that you need:Then, once the app has been built you can set up your aspnet core alongside setting up SilkierQuartz to use your existing Scheduler:
That gets you a pretty functional dashboard with an existing Quartz set up.
NOTE: this is the unauthenticated version
Hopefully useful....
The text was updated successfully, but these errors were encountered: