【问题标题】:Schedule Windows Service with Quartz.NET使用 Quartz.NET 调度 Windows 服务
【发布时间】:2018-10-10 18:05:29
【问题描述】:

我想用 Quartz.NET 安排我的 windows 服务。我尝试了一些示例,但是我无法安排我的 windows 服务。我该怎么做?

谢谢。

【问题讨论】:

    标签: c# windows-services quartz.net


    【解决方案1】:

    好吧,您实际上并没有“调度”您的 Windows 服务。 Quartz.Net 服务器 可以作为 Windows 服务运行,然后查看您的 quartz_jobs.xml 以确定触发您定义的作业的时间/频率(或您设置的任何触发器)。

    查看此系列博文了解更多信息 - http://jvilalta.blogspot.com/2009/03/getting-started-with-quartznet-part-1.html

    与 Quartz.Net 网站上的教程相比,这对我很有帮助。

    【讨论】:

      【解决方案2】:

      这对我有用:

      “使用 Autofac、Quartz 和 Atlas 创建 Windows 服务的快速方法”

      http://www.markjourdan.name/a-quick-way-to-create-a-windows-service-using-autofac-quartz-and-atlas

      【讨论】:

      • 你能在链接中添加一些上下文吗?
      • 我在将 Quartz.Net 作为 Windows 服务运行时遇到了同样的问题,该站点显示使用 Autofac、Quartz 和 Atlas 作为 Windows 服务运行。你有什么问题?
      猜你喜欢
      • 2017-06-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多