You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
regarding CalendarIntervalScheduleBuilder#calendarIntervalSchedule. When I create a trigger like this:
val endOfMarch =LocalDateTime.of(2024, Month.MARCH, 31, 2, 30)
val schedule =CalendarIntervalScheduleBuilder.calendarIntervalSchedule().withIntervalInDays(1).preserveHourOfDayAcrossDaylightSavings(true)
TriggerBuilder
.newTrigger()
.forJob(scheduler.getJobDetail(JobKey.jobKey("myJob")))
.startAt(Date.from(endOfMarch.atZone(ZoneId.systemDefault()).toInstant())
.withSchedule(schedule)
.build()
I assume that the time change will occur at 2 AM on 31st March (changing forward from 2 AM to 3 AM) and on 31st October at 3 AM (changing backward from to 3 AM to 2 AM).
As far as I understand the documentation it will be executed on March 31st (at 3:30 AM?). Will this trigger be executed once, twice or not at all on the October 31st? And if it is not executed at all on October 31: Can I create a trigger that is executed on every single day exactly once at 2:30 o'clock (accepting a different time at time-change-days)?
The text was updated successfully, but these errors were encountered:
Hello,
regarding
CalendarIntervalScheduleBuilder#calendarIntervalSchedule
. When I create a trigger like this:I assume that the time change will occur at 2 AM on 31st March (changing forward from 2 AM to 3 AM) and on 31st October at 3 AM (changing backward from to 3 AM to 2 AM).
As far as I understand the documentation it will be executed on March 31st (at 3:30 AM?). Will this trigger be executed once, twice or not at all on the October 31st? And if it is not executed at all on October 31: Can I create a trigger that is executed on every single day exactly once at 2:30 o'clock (accepting a different time at time-change-days)?
The text was updated successfully, but these errors were encountered: