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

--------------------------------------------------------------
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
[http://community.jboss.org/message/621998#621998]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to