Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Asynchronous Plugin in RTC

Hello Everyone,


I am using CLM 6.0.5, I have created a asynchronous plugin which uncheck the boolean attribute "status" in every 1 hour, It works fine.
But now I need to execute this plugin at 12 Clock at night so How to implement this?
Thanks in Advance.

0 votes



One answer

Permanent link
I'm not sure if there is a mechanism to trigger a server side Task to run at a given time.
You could write your own instance of AbstractAutoScheduledTask and have it run every couple of minutes (you would still want to it run every couple of minutes vs couple of seconds to reduce the server load), and then in your implementation you simply check the time at the start, and return if it's not at 12:00 +/- your sleep time. So if it's scheduled to run every 3 min, then at least you'll be +/- 3 min away from 12:00 (so hopefully that is good enough)

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11,051

Question asked: Oct 15 '18, 3:33 a.m.

Question was seen: 2,510 times

Last updated: Oct 15 '18, 10:49 a.m.

Confirmation Cancel Confirm