[jboss-user] [EJB/JBoss] - schedule timer with hour, without date

beherenow do-not-reply at jboss.com
Thu Jun 5 07:15:18 EDT 2008


Hello,

I created a service that works correctly, but i want to execute the bean everyday at 12:00.
The problem is that i must write:
    ....
    dd/MM/yyyy HH:mm:ss
    01/01/2008 12:00:00
    ....

It works, but i don't want to write the date, because i don't know when the server will restart. Then I wrote:
    ....
    HH:mm:ss
    12:00:00
    ....

But it doesn't works, the server init the scheduling when starting, not at 12.

How to solve the problem?

Thanks,
Marc

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4155926#4155926

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4155926



More information about the jboss-user mailing list