Quartz.Net Scheduler Listeners, Part 2 of Quartz.Net Listeners in Detail

This is the second post in the Quartz.Net Listener Tutorial series. It’s also the second part of the introduction to listeners overview series. You can find Part 1 here. Today we’ll be looking at scheduler listeners and how to implement one.

As we mentioned in Part 1, scheduler listeners get notified of high level scheduler events. To implement a scheduler listener, you need to implement the ISchedulerListener interface. Here’s what that interface looks like:

Continue Reading

Quartz.Net Listeners Tutorial

This multi-part tutorial will describe Quartz.Net listeners in detail and will provide examples of how to use them.

We’ll cover the following listeners and topics in this tutorial:

A listener overview: Part 1, Part 2, Part 3,Part 4

Quartz.Net's Built-in Listeners

I think that we’ll have one post for each listener type. For now and while those posts are ready, you may already know what listeners are and just want to start using them. You may have even begun to write your own, or already have one ready to go. So, now you’re wondering how you can add a listener to your scheduler. The short answer is that the only way to do so with the default distribution is to do it programmatically, by calling one of the AddListener methods on the Scheduler object. More on this will be covered in the first post, using the built-in listeners.

Continue Reading

Checking Your Cron Expression’s Schedule

If you’re using the CronTrigger to fire your Quartz.Net job, then you’ll have to come up with a CronExpression that generates the schedule you want. Sometimes you may not be sure if it’s the correct schedule or maybe Quartz.Net doesn’t fire when you want it to. There are multiple reasons why a trigger doesn’t fire when it should but perhaps the first thing to look at is whether you’ve got the correct CronExpression.

Continue Reading