How to disable Quartz update attempt?
java, quartz-scheduler
Solution
In `quartz.properties`, you can add
org.quartz.scheduler.skipUpdateCheck=true
In code, this would look like:
Properties props = new Properties();
props.setProperty("org.quartz.scheduler.skipUpdateCheck","true");
// set other properties ...such as
props.setProperty("org.quartz.jobStore.class", "org.quartz.simpl.RAMJobStore");
props.setProperty("org.quartz.threadPool.class", "org.quartz.simpl.SimpleThreadPool");
props.setProperty("org.quartz.threadPool.threadCount", "4");
SchedulerFactory schdFact = new StdSchedulerFactory(props);
Edit:
From @Stephan202's comment below you can use the constant PROP_SCHED_SKIP_UPDATE_CHECK
The code in that case would be
props.setProperty(StdSchedulerFactory.PROP_SCHED_SKIP_UPDATE_CHECK,"true");
Problem
I am using: ``` <dependency> <groupId>org.quartz-scheduler</groupId> <artifactId>quartz</artifactId> <version>1.8.0</version> </dependency> ``` When application comes up, I consistently get: ``` 2013-01-03 15:25:34 UpdateChecker [DEBUG] Checking for available updated version of Quartz... 2013-01-03 15:25:43 UpdateChecker [DEBUG] Quartz version update check failed: java.io.IOException: Server returned HTTP response code: 503 for URL: long url here ``` How can I eliminate these? (Both the message and attempt to update)