How can I setup a quartz.config
file in a simple Java application?
I want to create this and reference it in my project so I can configure threads etc.
Thanks
Take a look at the Quartz Quick Start Guide to see what a basic quartz.properties
file looks like. This file must be placed on your classpath, for Quartz to use it. 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 available properties is available in the Quartz Configuration Reference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With