jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion

"Re: EJB 3.1 Timer problems in scheduling recurring task"

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

--------------------------------------------------------------
As per EJB3.1 spec, by default the "hour" value is 0. Which means that it will 
fire every 5 minutes at midnight (when hour == 0 for an hour).

What you want is:

@Schedule(minute=”*/5”, hour=”*”, persistent="false")
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/579069#579069]

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