Hi,
Is it possible to configure a jboss scheduler bean to wait a specified period
of time before the first run ?
That is setting the InitialStartDate to NOW plus a minute etc...
I have a process which I would like to start a given period after NOW.
jboss-service.xml file :
<mbean code="org.jboss.varia.scheduler.Scheduler" name="***"> <depends>***</depends> <depends>jboss.j2ee:jndiName=***,service=EJB</depends> <attribute name="StartAtStartup">true</attribute> <attribute name="SchedulableMBean">***</attribute> <attribute name="SchedulableMBeanMethod">***(NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME)</attribute> <attribute name="InitialStartDate">NOW+5mn</attribute> <attribute name="SchedulePeriod">86400000</attribute> <attribute name="InitialRepetitions">-1</attribute> </mbean>