quartz / readme.txt

This file is meant to help you get started in poking around within the
Quartz project (http://www.opensymphony.com/quartz).

What is Quartz?
Quartz is an opensource project aimed at creating a
free-for-commercial use Job Scheduler, with 'enterprise' features.

Licensed under the Apache License, Version 2.0 (the "License"); you may not 
use this file except in compliance with the License. You may obtain a copy 
of the License at 

Additionally, a copy of the license and its accompanying notice file is
included with the distribution. 

Competing Products?
There are no known competing open source projects (there are a few
schedulers, but they are basically Cron replacements written in Java)

Commercially, take a look at Flux, which has many excellent features: 


What is in this package?

quartz-all-<ver>.jar		all in one Quartz library.  Includes the core 
							Quartz components plus all optional packages.  If 
							you use this library, no other quartz-*.jars are 

quartz-<ver>.jar			core Quartz library.

quartz-jboss-<ver>.jar		optional JBoss specific Quartz extensions such as
							the Quartz startup MBean, QuartzService.

quartz-oracle-<ver>.jar		optional Oracle specific Quartz extensions such as
							the OracleDelegate.

quartz-weblogic-<ver>.jar	optional WebLogic specific Quartz extensions such
							as the WebLogicDelegate.

build.xml             		an "ANT" build file, for building Quartz.

readme.txt            		this file (duh!).

license.txt           		a document declaring the license under which
                      		Quartz can be used and distributed.

src-header.txt				piece of text to put at the top of each new file

docs					    the root directory of all documentation.

docs/wikidocs               the main documentation for Quartz.  Start with
                            the "index.html"
docs/dbTables				sql scripts for creating Quartz database tables in
							a variety of different databases.                            
src/java/org/quartz   		the main package of the Quartz project,
                      		containing the 'public' (client-side) API for
                      		the scheduler

src/java/org/quartz/core   	a package containing the 'private' (server-side)
                      		components of Quartz.

src/java/org/quartz/simpl	a package contain simple implementations of
                      		Quartz support modules (JobStores, ThreadPools,
                      		Loggers, etc.) that have no dependencies on
                      		external (third-party) products.

src/java/org/quartz/impl 	a package containing implementations of Quartz
                      		support modules (JobStores, ThreadPools,
                      		Loggers, etc.) that may have dependencies on
                      		external (third-party) products - but may be
                      		more robust.

src/java/org/quartz/utils	a package containing some utility/helper
                      		components used through-out the main Quartz

src/examples/org/quartz		a directory containing some code samples on the
examples               		usage of Quartz.  The first example you should
                      		look at is 'example1.bat' or 'example1.sh' -
                      		depending if you're a win-dos or unix person.
                      		This example uses the code found in the
                      		SchedTest.java class, which is also in the
                      		examples directory.

webapp						a directory containing a simple web-app for managing
							Quartz schedulers.

lib                   		a directory which should contain all of the
                      		third-party libraries that are needed in order
                      		to use all of the features of Quartz. (Some are
                      		not automatically there, but you need to get them
                      		and put them there if you use the features they
                      		depend on -- see below)

Where should I start looking in order to figure this thing out?

There is a tutorial distributed with Quartz that can be found in the "docs" 
directory.  You should also read the FAQ in the docs/wikidocs/ directory.

Most of the Java source files are fairly well documented with JavaDOC -
consider this your "reference manual".  There is a tutorial and configuration
reference that can be found from docs/wikidocs/index.html .

Start by looking at org.quartz.Scheduler, org.quartz.Job,
org.quartz.JobDetail and org.quartz.Trigger.

Examine and run the examples found in the "examples" directory.

If you're interested in the "behind the scenes" (server-side) code,
you'll want to look at org.quartz.core.QuartzSchedulerThread, which
will make you interested in org.quartz.spi.JobStore.java,
org.quartz.spi.ThreadPool.java and org.quartz.core.JobRunShell.

Have fun.

What do I do when I find something stupid?

Help is available via the Quarts-Users forum:


Please report bugs / issues to JIRA at:


The current build process assumes you already have ANT version 1.6.3 or later 
installed.  If you don't, download from the Apache website (http://ant.apache.org)
and follow installation instructions.  You can confirm the version of ANT you 
have installed by typing: ant -version

To build:

1) If you are checking the project directly out of SVN, you will also need to
checkout the "opensymphony" project in a parallel directory in order to get
the common ANT build file: osbuild.xml

2) There should be a build.xml file located in the Quartz project root

3) If you have it setup right, you should be able to type: ant 
It will search for build.xml in the current directory.

4) Available targets can be seen by typing: ant -projecthelp

5) To use the default build target, just type "ant" on the command line while
sitting in the main 'quartz' directory.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.