It's all about the answers!

Ask a question

How to get last execution time of asynchronous tasks


SEC Servizi (97122652) | asked Jan 14 '16, 5:01 a.m.
Are you aware of any Java server API to get the last execution time of asynchronous tasks?
This is still related to our old problem https://jazz.net/forum/questions/124908/how-to-set-asynchronous-task-to-run-once-every-week
Thanks in advance.

One answer



permanent link
Ralph Schoon (60.7k33643) | answered Jan 14 '16, 8:19 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I don't think there is any API that records this. But if you look at some of the examples in the code, you notice, that they use certain internal events, that they store in the event queue and can read back.

Comments
SEC Servizi commented Jan 15 '16, 3:33 a.m. | edited Jan 15 '16, 1:21 p.m.
if you look at some of the examples in the code, you notice, that they use certain internal events, that they store in the event queue and can read back. 

Thank you for your answer. Which examples should we look at?


Ralph Schoon commented Jan 15 '16, 3:39 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

On the extension point in your plugin.xml right click and select show references.
In the search result, open the result plugin.xml's. Look up the classes that implement the extension and use JavaSearch to search them in the SDK.

Your answer


Register or to post your answer.