如何创建quartz.properties文件,以便已声明具有给定属性的调度程序编号并使用StdSchedulerFactory getScheduler("schedulername")
方法访问它们?带配置调度程序的石英
org.quartz.scheduler.instanceName = MyScheduler1
org.quartz.threadPool.threadCount = 3
org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
org.quartz.scheduler.instanceName = MyScheduler2
org.quartz.threadPool.threadCount = 1
org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
每个调度器工厂都需要一个conf文件并且总是返回相同的调度器,所以我必须用新的配置创建新的工厂并获取调度器。 – ayengin