0 Replies Latest reply on Dec 3, 2008 9:22 PM by chwang

    my scheduler was not called at specified time

      Hi, Folks,

      I set up the following scheduler attributes. then started the jboss server before 12:00 am. I expected scheduler would be called at 12:00 am. but it was not called. Did I miss something in the following confg file? my scheduler is fine because when I set StartAtStartup=true, then restarted server, my scheduler was called.
      Thanks,

      chwang

      <server>
      <mbean code="org.jboss.varia.scheduler.Scheduler"
      name=":service=MyAppScheduler">
      <attribute name="StartAtStartup">false</attribute>
      <attribute name="SchedulableClass">MySchedulableImpl</attribute>
      <attribute name="InitialStartDate">12/3/2008 12:00 am</attribute>
      <attribute name="SchedulePeriod">60000</attribute>
      <attribute name="InitialRepetitions">-1</attribute>
      </mbean>
      </server>