-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Description
Gerrit Hübbers opened SPR-10940 and commented
Currently, org.springframework.scheduling.quartz.SimpleTriggerFactoryBean doesn't support access to the startTime property. (see
https://github.com/spring-projects/spring-framework/blob/master/spring-context-support/src/main/java/org/springframework/scheduling/quartz/SimpleTriggerFactoryBean.java).
startTime is a useful property, as it allows specifying a precise instance in time when the SimpleTrigger shall fire for the first time.
As a workaround to emulate this property, a user can awkwardly calculate an offset from the current system time and then set the startDelay property. This workaround is also causing unneccessary scheduling imprecision.
Therefore, it is beneficial to provide direct access to the startTime property.
Affects: 3.2.4, 4.0 GA
Issue Links:
- CronTriggerFactoryBean doesn't allow calendar name and description to be specified [SPR-9771] #14405 CronTriggerFactoryBean doesn't allow calendar name and description to be specified
Referenced from: commits dbfe68a, ab6c6b1, b228a06
Backported to: 3.2.7