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

attribute time_zone should work with element schedule

    XMLWordPrintable

Details

    Description

      Current Situation

      Desired Behavior

      • The time_zone attribute should be recognized by JobScheduler as it works in <run_time> element.

      Further Explanations

      • This works:
        <?xml version="1.0" encoding="ISO-8859-1"?>
        <order>
            <run_time time_zone="Europe/London" schedule="europe_gtf_startup"/>                  
        </order>
        
        <schedule>
            <weekdays >
                <day  day="0">
                    <period  single_start="19:00:00"/>
                </day>
            </weekdays>
        </schedule>
        
      • This does not work:
        <order>
            <run_time schedule="europe_gtf_startup"/>
        </order>
        
        <schedule  time_zone="Europe/London" > 
            <weekdays >
                <day  day="0">
                    <period  single_start="19:00:00"/>
                </day>
            </weekdays>
        </schedule>
        

      Maintainer Notes

      • The documentation is wrong. An attribute <schedule time_zone="..."/> is not supported. The documentation has been fixed to reflect the effective behavior.
      • There are use cases for an attribute <schedule time_zone="..."/>, e.g. not to have to specify the attribute for each job that makes use of the same schedule.
      • Currently we estimate no immediate need to implement such behavior as the functionality is available by specifying <run_time schedule="..." time_zone="...".
      • The respective functionality for adding time zones with the <run_time> element in JOE is covered by JOE-155

      Attachments

        Issue Links

          Activity

            People

              sos_engine_team TeamEngine
              ur Uwe Risse
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: