|
@@ -53,10 +53,10 @@ public class StartRunning implements CommandLineRunner {
|
|
|
log.info("增加学校信息同步定时任务 end");
|
|
|
|
|
|
// log.info("增加重新生成pdf定时任务 start");
|
|
|
- Map taskJobMap = new HashMap();
|
|
|
- schoolJobMap.computeIfAbsent("name", v -> ResetCreatePdfJob.class.getName());
|
|
|
- quartzService.deleteJob(JobEnum.RESET_CREATE_PDF_JOB.name(), JobEnum.RESET_CREATE_PDF_JOB_GROUP.name());
|
|
|
- // 每天0点定时任务
|
|
|
+// Map taskJobMap = new HashMap();
|
|
|
+// schoolJobMap.computeIfAbsent("name", v -> ResetCreatePdfJob.class.getName());
|
|
|
+// quartzService.deleteJob(JobEnum.RESET_CREATE_PDF_JOB.name(), JobEnum.RESET_CREATE_PDF_JOB_GROUP.name());
|
|
|
+// //每天0点定时任务
|
|
|
// quartzService.addJob(ResetCreatePdfJob.class, JobEnum.RESET_CREATE_PDF_JOB.name(), JobEnum.RESET_CREATE_PDF_JOB_GROUP.name(), "0 0/1 * * * ?", taskJobMap);
|
|
|
// log.info("增加重新生成pdf定时任务 end");
|
|
|
|