Skip to content

Commit

Permalink
#110 | set first run trigger startTime to now
Browse files Browse the repository at this point in the history
  • Loading branch information
himeshr committed Jan 6, 2025
1 parent 7f783e7 commit 4a29cee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private Trigger getHigherPriorityTriggerForFirstRun(JobScheduleRequest jobSchedu
.withIdentity(scheduledJobConfig.getTriggerKey(jobScheduleRequest.getEntityUUID() + "run1", jobScheduleRequest.getJobGroup()))
.forJob(jobDetail)
.withSchedule(simpleSchedule().withMisfireHandlingInstructionFireNow())
.startAt(DateTimeUtil.nowMinusMinutes(30))
.startNow()
.withPriority(6) //higher than default (5)
.build();
return trigger;
Expand Down

0 comments on commit 4a29cee

Please sign in to comment.