0 Replies Latest reply on Nov 21, 2013 3:13 PM by Marc Anthony Puca

    @Schedules and @Schedule incorrect next timout value

    Marc Anthony Puca Newbie

      Hello to everyone


      I have noticed what may be a feature or may be a bug, but in the scenario of and ejb timer with a similar annotation



             @Schedule(hour   = "4-5",....),


            @Schedule(hour   = "8-9",....)



      when the timeout event occurs at say 05:00 the value returned by next timeout method is 04:00 when in theory is should be 08:00.


      Is there another way to get the next timeout in a scenario like this