-
Apr 12th, 2010, 10:15 AM
#1
Calculate dinamically the value of property repeatInterval of SimpleTriggerBean
I have this configuration for a SimpleTriggerBean:
<bean id="simpleTriggerBean" class="........SimpleTriggerBean">
<property name="jobDetail" ref="jobDetailGenTareas" />
<property name="startDelay" value="60000" />
<!-- Execution each seven days-->
<property name="repeatInterval" value="604800000"/>
</bean>
1.Could I calculate dinamically the value of property 'repeatInterval', for example get the actual date or create a date and add it seven days?
2.Should I use other class to get it?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules