| | |
| | | // |
| | | // // quartz参数 |
| | | // Properties prop = new Properties(); |
| | | // prop.put("org.quartz.scheduler.instanceName", "RuoyiScheduler"); |
| | | // prop.put("org.quartz.scheduler.instanceName", "SeScheduler"); |
| | | // prop.put("org.quartz.scheduler.instanceId", "AUTO"); |
| | | // // 线程池配置 |
| | | // prop.put("org.quartz.threadPool.class", "org.quartz.simpl.SimpleThreadPool"); |
| | |
| | | // prop.put("org.quartz.jobStore.tablePrefix", "QRTZ_"); |
| | | // factory.setQuartzProperties(prop); |
| | | // |
| | | // factory.setSchedulerName("RuoyiScheduler"); |
| | | // factory.setSchedulerName("SeScheduler"); |
| | | // // 延时启动 |
| | | // factory.setStartupDelay(1); |
| | | // factory.setApplicationContextSchedulerContextKey("applicationContextKey"); |