Showing items from Quartz.net

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

Running Quartz.Net 1.0.2 on .Net 4.0

We recently upgraded one of our application to .Net 4.0. As part of this upgrade, we also upgraded out Quartz.net jobs to run on the 4.0 version of the .Net framework. The process was fairly straightforward, but not without surprises, so I figured I would post it here in case it’s useful.

Continue Reading

Creating a Custom Job in Quartz.Net

If you use Quartz.Net and you want to do anything other than run  a batch file, then chances are you’ll want to create a custom job. Fortunately, creating it is not hard at all. Let’s get started. Here’s a quick rundown of what you need to do. First, you’ll need to add a reference to Quartz.

Continue Reading

Configuring Quartz.Net to use Log4net

If you’re considering using Quartz.Net, chances are you are using log4net as the logging framework for your application. We’ll assume that you already know how to configure log4net and that you just want to plug that configuration into Quartz.Net. So, how do we configure Quartz.Net to use log4net? It’s not terribly complicated, since Quartz.

Continue Reading

Getting Started With Quartz.Net Part 5 – Configuring Triggers

In Part 4, we explained how to configure jobs in detail. In this final installment of the series we’ll describe how to configure two kinds of triggers: the CronTrigger and the SimpleTrigger. In keeping with the previous posts, we will configure the triggers in the quartz_jobs.xml file. Part 4 included a sample configuration of a CronTrigger, so let’s start with this.

Continue Reading