1 Reply Latest reply on Aug 8, 2008 9:49 PM by Samuel Doyle

    Problem creating recurring Quartz job on startup.

    Samuel Doyle Apprentice

      Hello,


      I'm seeing my particular case I am not able to create a Quartz job that executes more then the once which is the time it is created.


      Here is what I have for example:



      @Name( "someScheduler" )
      @Stateful
      @Scope( ScopeType.APPLICATION )
      @Startup
      public class SomeAction
              implements Something
      
      ...
      
      @Create
      @TransactionTimeout( 1800 )
      public void create()
      {
         executeJob( new Date(), "0 1 * * * * " );
      }
         



      The job fails to execute at whatever scheduled time I provide to it.


      Thanks