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

Understanding the DisallowConcurrentExecution Job Attribute

In this post I’ll go over what the DisallowConcurrentExecution job attribute does and how to use it. Documentation The Quartz.net documentation states that the DisallowConcurrentExecutionAttribute is An attribute that marks a IJob class as one that must not have multiple instances executed concurrently (where instance is based-upon a IJobDetail definition - or in other words based upon a JobKey.

Continue Reading

Windows 8 Left Justified Menus

I’ve been running into some issues with my work laptop where all the menus are getting left justified from time to time. I’m not sure why it keeps happening and it doesn’t happen on any of my other Windows 8 machines. However, this is the fix: Press Windows+R Type this command into the the run command window:

Continue Reading

Quartz.Net – The ITrigger Interface

In this post we document the ITrigger interface for Quartz.net. This simple post is one of the documentation series of posts, so it only documents classes and interfaces that are not documented online. Here is the ITrigger interface in all its glory: namespace Quartz { /// <summary> /// The base interface with properties common to all <see cref="

Continue Reading

Quartz.Net &ndash; The IJobDetail Interface

This is another of the documentation series posts. This post will be documenting the IJobDetail interface. Here it is: namespace Quartz { /// <summary> /// Conveys the detail properties of a given job instance. /// JobDetails are to be created/defined with <see cref="JobBuilder" />. /// </summary> /// <remarks> /// Quartz does not store an actual instance of a <see cref="

Continue Reading

Quartz.Net &ndash; The Quartz.IJob Interface

This post is part of the documenation series. It just provides a place to document some of the classes and interfaces that are not available in the API documentation. In this post we are documenting the IJob interface. Without further ado, here it is: namespace Quartz { /// <summary> /// The interface to be implemented by classes which represent a 'job' to be /// performed.

Continue Reading

Quartz.Net &ndash; The Missing API Documentation

Unfortunately it seems that the Quartz.Net API documentation that is available online is not complete. Since I would like to link to some of these classes and interfaces from some of my posts, I’m going to start adding them as separate posts, all tagged as documentation. At some point I’ll tackle generating another set of API documents with all the missing classes but until then, these posts will have to do.

Continue Reading

Quartz.NET 2 Tutorial - Lesson 1: Using Quartz

Lesson 1: Using Quartz There are at least two ways to use Quartz.Net: embedded (hosted) in your application or as a standalone windows service. Embedding Quartz.Net in Your Application If you are going to host the Quartz.Net scheduler in your application, you’ll need to create a scheduler. This can be easily done through the scheduler factory provided in the distribution.

Continue Reading