0 Replies Latest reply on Feb 8, 2005 5:58 PM by kongdy

    Initial Start Date for startup class

    kongdy

      Hi,

      I am trying to write a MBean startup class to startup my ejb scheduler when deploy. In my MBean class, I have

      protected void startService() throws Exception {
      .......
      timer.initializeTimer(getFirstDate(), getInterval(), getName());
      }

      My question is, what value do I put for the attribute 'firstDate' in the jboss-service.xml if I want it to always set to the current date time?


      .....
      ??
      60000
      MyTimer
      .....


      Thanks.