Creating a Custom Quartz.Net JobFactory

In this post we’ll walk through the creation of a custom Quartz.Net JobFactory that uses dependency injection to pass dependencies to our jobs. We’ll be using Castle Windsor for this example, but you can use any dependency injection framework you want. We discussed the Qartz.Net IJobFactory interface in detail previously, so read that first if you haven’t yet.

Continue Reading

Quartz.Net Job Factories

In my previous post we talked about the IJobFactory interface in detail. Today we will look at the 2 job factories that are included in the Quartz.Net distribution. SimpleJobFactory We will look at the SimpleJobFacotry first, since it is the base class used by the other job factory. This is a pretty simple implementation, so let’s look at the source code and talk about it in detail.

Continue Reading

Quartz.Net IJobFactory Interface

The Quartz.Net scheduler implements the factory method pattern to create the jobs that will be executed. Job factories are responsible for producing job instances. When you download the Quartz.Net distribution you get 2 different job factories. Today we will look at the IJobFactory interface in detail. In a later post we’ll look at the job factories that are included in the Quartz.

Continue Reading

Quartz.Net 2.0 Database Providers

Quartz.Net supports quite a few different database providers. This information is embedded inside the Quartz.dll file, but I think it is useful to have it handy. I’ve created a table with the names of all the (as of now) supported database providers. If you would like the full details on the providers, take a look at the dbproviders.

Continue Reading

Quartz.Net eBook

For a few months now I have been working on a Quartz.Net eBook. So far I have managed to write a total of 40 pages, out of which about 15 make up the Getting Started section. This section is almost complete. I am reviewing it and will make it available for free on this blog as soon as it has been cleaned up.

Continue Reading

Using Quartz.Net 2.0 With SQL Compact 4.0

Now that SQL Compact 4.0 is out, you might want to use it to as your Quartz.Net job store. Here is how to set up a Quartz.Net 2.0 scheduler with a SQL Compact 4.0 database. PrerequisitesFirst, you will need to download the SQL Compact 4.0 runtime and install it on the same box that will run the Quartz.

Continue Reading

Installing Quart.Net 2.0 Beta 1 as a Windows Service

Now that there is an official beta release of Quartz.Net 2, I thought it would be a good idea to go through the installation process and describe it step by step. Before we get started I’d like to point out that this post was written using Windows 7, so the screenshots may not match exactly what you see if you are on a different version.

Continue Reading