Quartz.Net JobListener Example

Download Code – > Quartz_Net_Example

JobListeners in Quartz.NET are kind of event listeners but in t his case they listen to the JOB. They are executed when the job is about to be executed or when the JOB has executed. The following is a simple C# Console Application that demonstrates the concept. The main JOB simply prints a msg that says “Hello, this message is from the JOB”. The listeners also print messages to the console when the job is about to be executed and when the JOB has finished executing.

Note that you will need to download Quartz.NET library to run this example. Simply right click on project, select NUGET Packages, type Quartz and download the very first entry Quartz.NET.

Links: Job Listeners in Quartz.NET

One Response to Quartz.Net JobListener Example
  1. Philippe says:

    Very clear simple example. All what I needed.
    Perfect.
    Thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*