使用Quartz.NET安排Windows服务

时间:2010-10-30 15:46:25

标签: c# windows-services quartz.net

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

感谢。

2 个答案:

答案 0 :(得分:8)

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

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

对我来说,开始使用Quartz.Net网站上的教程是有帮助的。

答案 1 :(得分:1)

它为我工作:

"使用Autofac,Quartz和Atlas创建Windows服务的快捷方式"

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