/[Apache-SVN]
ViewVC logotype

Revision 1866499


Jump to revision: Previous Next
Author: pawan
Date: Fri Sep 6 05:41:47 2019 UTC (4 years, 7 months ago)
Changed paths: 2
Log Message:
Add timezone support to recurring job temporal expressions
(OFBIZ-11035)

When try to define a temporal expression for a recurring job where the temporal expression should be evaluated using a timezone other than whatever the default timezone is for the system.

The use case is having a system that runs on UTC time but needs to send a report at 5 pm Pacific Time every day regardless of whether or not daylight savings is in effect.

To do this:

Added a new field to JobSandbox such as recurrenceTimeZone and modified code to use this timeZone if available.

Thanks: Scott Gray for reporting and Nicolas Malin for the review.

Changed paths

Path Details
Directoryofbiz/ofbiz-framework/trunk/framework/service/entitydef/entitymodel.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/job/PersistedServiceJob.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26