How to configure quartz.config file in a simple Java application?

How to configure quartz.config file in a simple Java application?

I want to create this and reference it in my project so that I can set up threads, etc.

thanks

+6
java quartz-scheduler
source share
1 answer

Take a look at the Quartz Quick Start Guide to see what the main quartz.properties file looks like. This file must be placed in your classpath in order to use Quartz. Example:

 org.quartz.scheduler.instanceName = MyScheduler org.quartz.scheduler.instanceId = 1 org.quartz.scheduler.rmi.export = false org.quartz.scheduler.rmi.proxy = false org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool org.quartz.threadPool.threadCount = 3 org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore 

Full documentation of the available properties is available in the Quartz Setup Reference .

+9
source share

All Articles