Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-10940

Provide access to SimpleTriggerFactoryBean property startTime

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 3.2.4, 4.0 GA
    • Fix Version/s: 3.2.7, 4.0.1
    • Component/s: None
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              abdull Gerrit H├╝bbers
              Last updater:
              Spring Issues Spring Issues
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 37 weeks, 6 days ago