如何在 Quartz.NET c# 中获取所有计划作业和触发器的详细信息
我必须创建所有计划作业和触发器的管理页面。如何获取 Quartz.NET 中正在运行的作业和触发器的详细信息?我可以暂停/停止或更新作业吗?有示例代码吗?
I have to create administration page of all scheduled jobs and triggers. How can i get details of running jobs and triggers in Quartz.NET? Can I pause/stop or update jobs? Is there any sample code?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
以下是使用 StdSchedulerFactory 的方法
Here is how you would go about it using the StdSchedulerFactory
这里有一个开放项目就是这样做的。
该项目应该包含您创建自己的项目所需的所有代码,或者您也可以只使用开源项目。
Quartz.net 基于网络的管理页面
Here an open project that does just this.
The project should have all the code you need to create you own, or you can just use the open source project.
Web Based admin page for Quartz.net