Getting Started with Quartz Scheduler : Configuring Quartz Scheduler
Configuring Quartz Scheduler
To configure Quartz, you edit the quartz.properties file and place it in your application's classpath. For information about adding the properties file to your classpath, see Downloading and Installing Quartz.
Note:  
The Quartz Scheduler distribution package includes several example quartz.properties files in the examples/ directory.
The following example shows the contents of a basic quartz.properties file:
org.quartz.scheduler.instanceName = MyScheduler
org.quartz.threadPool.threadCount = 3
org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
This example specifies the following properties:
*The org.quartz.scheduler.instanceName property assigns the name "MyScheduler" to the scheduler.
*The org.quartz.threadPool.threadCount property allocates three threads in the thread pool, meaning that a maximum of three jobs can be run simultaneously.
*The org.quartz.jobStore.class property configures the scheduler to use the RAMJobStore for data storage. This means that the scheduler will keep its job and trigger data in memory rather than in a database. For more information about job stores, see "Working with Job Stores" in the Quartz Scheduler Developer Guide.
For descriptions of all the properties that a quartz.properties file can include, see the Quartz Scheduler Configuration Guide.
Copyright © 2010-2015 Software AG, Darmstadt, Germany.

Product Logo |   Feedback