JBoss Community

Re: @Schedule on Stateless EJB 3.1 on JBoss 6.0 Final

created by Jacek Laskowski in EJB3 - View the full discussion

Hi,

 

Use @Schedule(second = "*", minute = "*/1", hour = "*", info="Every 1 minute") to achieve it. According to 18.2.1.2 Expression Rules of the EJB 3.1 spec - hour defaults to 0 and that's what postpones the timer around the midnight.

 

Jacek

Reply to this message by going to Community

Start a new discussion in EJB3 at Community