Quartz.NET vs Windows Scheduled Tasks. How different are they?

后端 未结 4 1375
遥遥无期
遥遥无期 2020-12-09 08:43

I\'m looking for some comparison between Quartz.NET and Windows Scheduled Tasks?

How different are they? What are the pros and cons of each one? How do I choose whic

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-09 09:12

    With Quartz.NET I could contrast some of the earlier points:

    1. Code to write - You can express your intent in .NET language, write unit tests and debug the logic
    2. Integration with event log, you have Common.Logging that allows to write even to db..
    3. Robust and reliable too
    4. Even richer API

    It's mostly a question about what you need. Windows Scheduled tasks might give you all you need. But if you need clustering (distributed workers), fine-grained control over triggering or misfire handling rules, you might like to check what Quartz.NET has to offer on these areas.

    Take the simplest that fills your requirements, but abstract enough to allow change.

提交回复
热议问题