[jboss-user] [Management, JMX/JBoss] - Scheduler mbean parameters

stefe2 do-not-reply at jboss.com
Wed Aug 30 04:37:54 EDT 2006


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>

Thanks


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968302#3968302

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968302



More information about the jboss-user mailing list