Spring 3: task namespace: How to find out time of next execution?

Posted by Bernd Haug on Stack Overflow See other posts from Stack Overflow or by Bernd Haug
Published on 2010-04-30T13:39:49Z Indexed on 2010/04/30 13:47 UTC
Read the original article Hit count: 242

Filed under:
|
|

I have a bean that has a method executed on a schedule using <task:scheduled> in the context configuration.

Is there a way for me to find the time of the next scheduled run during execution of that method?

The same method is also executed manually, and the mechanism for receiving scheduler information may not break executions from outside the scheduler...

© Stack Overflow or respective owner

Related posts about spring

Related posts about quartz-scheduler