Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1958

Consider fixed hours for Admission Times during daylight saving change

    XMLWordPrintable

Details

    • Feature
    • Status: Deferred (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 2.0.0
    • None
    • JS7 Controller
    • None

    Description

      Current Situation

      • The JS7 - Admission Times for Jobs consider daylight saving change.
      • During Daylight Saving Change to summer time, for example if the clock is moved forward from 2am to 3am and a job is assigned an Admission Time from 1am to 4am, then "opening hours" will be prolonged until 5am in order to stick to the indicated duration of 3 hours. This implies that
        • an order arriving with the job node at 4.30am will start the job immediately due to prolonged "opening hours".
        • the next available time is used, i.e. if an order is scheduled for 2.30am then the job will start immediately, however, technically the start time will be 3am.
        • cyclic orders and cyclic workflows are executed for 3 hours between 1am and 5am, skipping the period 2am to 3am.
      • During Daylight Saving Change to winter time, for example if the clock is moved back from 3am to 2am and a job is assigned an Admission Time from 1am to 4am, then "opening hours" will be reduced until 3am. This implies that
        • an order arriving with the job node at 3.30am will not make the job start for this period as it arrives past the duration of 3 hours.
        • the earlier time is used, i.e. if an order is scheduled for 2.30am then the job will start once for the first occurrence of 2.30am on that day.
        • cyclic orders are executed during the first occurrence of the period 2am to 3am.
        • cyclic workflows are executed during both occurrences of the period 2am to 3am.

      Desired Behavior

      • In addition to considering job "opening hours" a duration they should be considered a period with a begin time and end time specified by hours.
      • During Daylight Saving Change to summer time, for example if the clock is moved forward from 2am to 3am and a job is assigned an Admission Time from 1am to 4am, then
        • an order arriving with the job node at 4.30am will not start the job but will wait for the next Admission Time.
        • an order arriving at 2.30am will not be executed.
        • cyclic orders and cyclic workflows will be executed for the 2 hours between 1am and 2am and between 3am and 4am.
      • During Daylight Saving Change to winter time, for example if the clock is moved back from 3am to 2am and a job is assigned an Admission Time from 1am to 4am, then "opening hours" will be maintained until 4am. This implies that
        • an order arriving with the job node at 3.30am will make the job start.
        • an order arriving at 2.30pm will executed the job just once.
        • cyclic orders will be executed during the first occurrence of the period 2am to 3am.
        • cyclic workflows will be executed during both occurrences of the period 2am to 3am.

      Attachments

        Issue Links

          Activity

            People

              ap Andreas Püschel
              ap Andreas Püschel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: