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
Can I use XMLSchedulingDataProcessorPlugin to init jobs without AddQuartzJob and SilkierQuartzAttribute?
services.AddSilkierQuartz(options =>{ options.Add("quartz.plugin.jobInitializer.type","Quartz.Plugin.Xml.XMLSchedulingDataProcessorPlugin, Quartz.Plugins"); options.Add("quartz.plugin.jobInitializer.fileNames","~/quartz_jobs.config"); options.Add("quartz.plugin.jobInitializer.failOnFileNotFound","true"); options.Add("quartz.plugin.recentHistory.type","Quartz.Plugins.RecentHistory.ExecutionHistoryPlugin, Quartz.Plugins.RecentHistory"); options.Add("quartz.plugin.recentHistory.storeType","Quartz.Plugins.RecentHistory.Impl.InProcExecutionHistoryStore, Quartz.Plugins.RecentHistory");});
Error:Objectreference not set to an instance of an object.
The text was updated successfully, but these errors were encountered:
我试过了,管理页面能看到xml配置里的Job和Trigger,也会执行,但因为没有调用 AddQuartzJob,Job实例无法生成,会报 Object reference not set to an instance of an object. 错误。
现在的代码对原来的Quartz侵入有点强...依赖注入这一块都替换了,原来的部分功能也被移除了
Can I use XMLSchedulingDataProcessorPlugin to init jobs without AddQuartzJob and SilkierQuartzAttribute?
The text was updated successfully, but these errors were encountered: