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

    Initial Start Date for startup class

    Jasmine Wong Newbie

      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.