소스 검색

[Fix#12231][scheduler-plugin] fix the bug which some scheduled tasks are not triggered on time (#12233)

Co-authored-by: fan.wang <fan.wang@jiduauto.com>
Ivan 2 년 전
부모
커밋
d9ac1fa0f7

+ 1 - 1
dolphinscheduler-scheduler-plugin/dolphinscheduler-scheduler-quartz/src/main/java/org/apache/dolphinscheduler/scheduler/quartz/QuartzScheduler.java

@@ -111,7 +111,7 @@ public class QuartzScheduler implements SchedulerApi {
                     .endAt(endDate)
                     .withSchedule(
                             cronSchedule(cronExpression)
-                                    .withMisfireHandlingInstructionDoNothing()
+                                    .withMisfireHandlingInstructionFireAndProceed()
                                     .inTimeZone(DateUtils.getTimezone(timezoneId))
                     )
                     .forJob(jobDetail).build();