-
1. Re: jboss scheduler
veeseekay Aug 2, 2007 6:00 AM (in response to veeseekay)sorry , My bad!
my xml configuration in jboss-service.xml was incorrect.
false
xx:service=yy
mySchedulableMethod()
MM/dd/yyyy kk:mm:ss
08/01/2007 23:59:00
10000
1
I had used attribute "SchedulableClass" instead of SchedulableBean.
silly me! -
2. Re: jboss scheduler
veeseekay Aug 2, 2007 6:02 AM (in response to veeseekay)oops, it doesnt dissplay the xml snippet properly...here goes again
mbean code="org.jboss.varia.scheduler.Scheduler"
name="jboss:service=MyClassScheduler"
attribute name="StartAtStartup">false</attribute
attribute name="SchedulableMBean">xx:service=yy</attribute
attribute name="SchedulableMBeanMethod">mySchedulableMethod()</attribute
attribute name="DateFormat">MM/dd/yyyy kk:mm:ss</attribute
attribute name="InitialStartDate">08/01/2007 23:59:00</attribute
attribute name="SchedulePeriod">10000</attribute
attribute name="InitialRepetitions">1</attribute
/mbean