[ 
https://issues.apache.org/jira/browse/SLING-13187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joerg Hoh updated SLING-13187:
------------------------------
    Description: 
The whiteboard approach should support specifying a timezone, so that the 
application can define scheduled jobs independently from the timezone of the 
JVM.

For that we should do:
* extend the SchedulingOptions with a timezone field, which specifies as a 
String which timezone is supposed to be used. The default will be the local 
timezone.
* When the SchedulingOptions are applied, apply that field using the Quartz API 
in QuartzScheduler.schedule()
* support this new field in the Whiteboard by accepting a new OSGI property 
"scheduler.timezone" (String), which is passedn directly on the 
SchedulingOptions.

* update the documentation at 
https://sling.apache.org/documentation/bundles/scheduler-service-commons-scheduler.html


  was:The whiteboard approach should support specifying a timezone, so that the 
application can define scheduled jobs independently from the timezone of the 
JVM.


> Scheduler / Whiteboard Handler should support timezones
> -------------------------------------------------------
>
>                 Key: SLING-13187
>                 URL: https://issues.apache.org/jira/browse/SLING-13187
>             Project: Sling
>          Issue Type: Improvement
>          Components: Commons
>    Affects Versions: Commons Scheduler 2.7.14
>            Reporter: Joerg Hoh
>            Priority: Major
>
> The whiteboard approach should support specifying a timezone, so that the 
> application can define scheduled jobs independently from the timezone of the 
> JVM.
> For that we should do:
> * extend the SchedulingOptions with a timezone field, which specifies as a 
> String which timezone is supposed to be used. The default will be the local 
> timezone.
> * When the SchedulingOptions are applied, apply that field using the Quartz 
> API in QuartzScheduler.schedule()
> * support this new field in the Whiteboard by accepting a new OSGI property 
> "scheduler.timezone" (String), which is passedn directly on the 
> SchedulingOptions.
> * update the documentation at 
> https://sling.apache.org/documentation/bundles/scheduler-service-commons-scheduler.html



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to