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

Allow non-working days (holidays) for days, hours, minutes and seconds

    XMLWordPrintable

Details

    • Feature
    • Status: Deferred (View Workflow)
    • Minor
    • Resolution: Incomplete
    • None
    • None
    • Job Scheduler Binaries
    • None

    Description

      Current Situation

      • Non-working days (holidays) are configured on a daily basis.

      Desired Behavior

      • Non-working days should be specified for days, hours, minutes and seconds.
      • Non-working days are considered when calculating the <job next_start_time="..."> answer and the <calendar> answer

      Proposal

      • In order to make holidays available for more accurate duration, i.e. hh:mm, the existing <run_time> element should be used in order to define "negative" run-times.
      • Add <run_time> as child of <holidays>. The periods configured by the <run_time> will be treated as holiday periods (negative run times).
      • If <run_time> is a child of <holidays> then the following children/attributes will not be allowed:
        @let_run
        @once
        @repeat
        @single_start
        @start_time_function
        period/@absolute_repeat
        period/@let_run
        period/@repeat
        period/@single_start
        at
        holidays
        
      • Example
        • <run_time>
            <period begin="04:00" end="20:00" repeat="01:00"/>
            <holidays>
              <run_time>
                <weekdays>
                  <day day="2">
                    <period begin="04:00" end="10:00"/>
                  <day>
                </weekdays>
              </run_time>
            </holidays>
          </run_time>
          
        • The example translates to: repeat every hour between 4:00 and 20:00 except for tuesdays. On tuesdays repeat every hour between 10:00 and 20:00

      Maintainer Notes

      Attachments

        Issue Links

          Activity

            People

              sos_engine_team TeamEngine
              al Andreas Liebert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: