I am using Quartz 2.2.3 in a springboot application. Every 10 minutes I need to fetch data from a file. So Scheduling the job for every 10 mins, using the below configuration in quartz.properties
.
org.quartz.scheduler.skipUpdateCheck=true
org.quartz.threadPool.threadCount=1
org.quartz.jobStore.misfireThreshold=60000
org.quartz.jobStore.class=org.quartz.simpl.RAMJobStore
But I found that the scheduler works only 2 or 3 times, properly. After that it keeps on getting errors "quartz.core.QuartzSchedulerThread - batch acquisition of 0 triggers". Verified thread dump too.
schedulerFactoryBean_QuartzSchedulerThread" #15 prio=5 os_prio=0 tid=0x000000001b6d6800 nid=0x2808 in Object.wait() [0x000000001d88e000] java.lang.Thread.State: TIMED_WAITING (on object monitor)
schedulerFactoryBean_Worker-1" #14 prio=5 os_prio=0 tid=0x000000001b056800 nid=0x4bcc in Object.wait() [0x000000001bbbf000] java.lang.Thread.State: TIMED_WAITING (on object monitor)
I Added a TriggerListener and a JobListener and found that after the 3rd sample the trigger is not fired.
What might be the problem?