📝 修改文档.

This commit is contained in:
lijiahang
2024-04-15 14:01:20 +08:00
parent f63216cb44
commit a74f3d8789
5 changed files with 70 additions and 46 deletions

View File

@@ -70,7 +70,10 @@ public class QuartzUtils {
.withIdentity(getTriggerKey(type, key))
.withSchedule(CronScheduleBuilder
.cronSchedule(cron)
.withMisfireHandlingInstructionIgnoreMisfires())
// 补偿一次
// .withMisfireHandlingInstructionFireAndProceed()
// 不补偿
.withMisfireHandlingInstructionDoNothing())
.build();
QuartzUtils.addJob(jobDetail, trigger);
}