We've updated our local copy to rev 896649 and encountered a similar problem
when we used TIME_OF_DAY_RANGE instead of DAY_OF_MONTH_RANGE.

Using the ff data, we now want the service to run every noon and 3pm.

<TemporalExpression tempExprId="12PM" tempExprTypeId="TIME_OF_DAY_RANGE"
string1="12:00" string2="12:00"/>
<TemporalExpression tempExprId="3PM" tempExprTypeId="TIME_OF_DAY_RANGE"
string1="15:00" string2="15:00"/>

<TemporalExpression tempExprId="12PM_AND_3PM_DAY" tempExprTypeId="UNION"/>
<TemporalExpressionAssoc fromTempExprId="12PM_AND_3PM_DAY"
toTempExprId="12PM"/>
<TemporalExpressionAssoc fromTempExprId="12PM_AND_3PM_DAY"
toTempExprId="3PM"/>

<JobSandbox jobId="TEST_FAM_AUTO_CREATE" jobName="Auto-create Fixed Asset
Maintenances" runTime="2000-01-01 00:00:00.000"
serviceName="createMaintsFromTimeInterval" poolId="pool" runAsUser="system"
tempExprId="12PM_AND_3PM_DAY" maxRecurrenceCount="-1"/> 

We've noticed that the service will always be scheduled 12pm of the ff day
instead of scheduling it first at 3pm of the same day.

Thanks again for the help.
-- 
View this message in context: 
http://n4.nabble.com/Use-of-TemporalExpression-with-JobSandbox-tp999679p1008594.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to