在 Quartz.NET 中以编程方式删除作业和关联的触发器
我需要一种方法来允许管理员删除 Quartz.NET 中的作业。 JobDetail 类是否有任何内置方法允许我删除作业和所有关联的触发器?
I need a way to allow administrators to delete a job in Quartz.NET. Are there any built in methods for the JobDetail class that allow me delete the job and all associated triggers?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您必须通过调度程序删除作业。
you have to delete the job via the scheduler.
截至今天,DeleteJob 方法需要输入 JobKey,如下所示。
As of Today the DeleteJob method need to input JobKey as following.