[jboss-user] [EJB3] - Re: @Schedule on Stateless EJB 3.1 on JBoss 6.0 Final

Jacek Laskowski do-not-reply at jboss.com
Sat Aug 20 16:15:37 EDT 2011

Jacek Laskowski [http://community.jboss.org/people/jlaskowski] created the discussion

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

To view the discussion, visit: http://community.jboss.org/message/621998#621998


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


Reply to this message by going to Community

Start a new discussion in EJB3 at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110820/6dc1538a/attachment.html 

More information about the jboss-user mailing list