Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide access to SimpleTriggerFactoryBean property startTime [SPR-10940] #15568

spring-projects-issues opened this issue Sep 26, 2013 · 1 comment
status: backported type: enhancement


Copy link

@spring-projects-issues spring-projects-issues commented Sep 26, 2013

Gerrit Hübbers opened SPR-10940 and commented

Currently, org.springframework.scheduling.quartz.SimpleTriggerFactoryBean doesn't support access to the startTime property. (see

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:

  • #14405 CronTriggerFactoryBean doesn't allow calendar name and description to be specified

Referenced from: commits dbfe68a, ab6c6b1, b228a06

Backported to: 3.2.7

Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Jan 5, 2014

Juergen Hoeller commented

I've added a corresponding setStartTime method to SimpleTriggerFactoryBean as well as CronTriggerFactoryBean, analogous to the inherited setStartTime method on SimpleTriggerBean and CronTriggerBean. To be released in 4.0.1 and 3.2.7.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
status: backported type: enhancement
None yet

No branches or pull requests

2 participants