我創建了文件quartz.properties
,並將它放在classpath中。 屬性是設置石英線程池的線程數
org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.threadCount = 1
但是當我啓動應用程序,我得到這個消息
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
是否加載財產或沒有?無論如何,我只爲調度程序運行一個線程...
燁。確實。儘管我使用了「屬性」文件 – lapots