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

How to set asynchronous task to run once every week?

We have an asynchronous task which has to be run every Wednesday at 5 PM.
How can we properly set the fixed delay property?
Thanks in advance.

0 votes



3 answers

Permanent link
Hi Sec,

Since it is an asynchronous task, it will not use an external clock for scheduled tasks. They must defined in a fixed delay, specified in seconds, that tells the scheduler how many seconds to wait between the end of one execution of the task and the beginning of the next execution. You can find more details here:


under Scheduled Tasks.

0 votes


Permanent link
If we add more nodes "asynchronousTask" inside the same parent node "extension", then these tasks don't run anymore.
Anyone has got advice of that?

0 votes

Comments

Yes, if we useĀ an extension point for each task, then they run as aspected.
Of course, this is not a problem, but it appeared as a strange behavior to us.


Permanent link
Have you considered to create a new extension and the task there?

0 votes

Comments

The SDK is free to use, unsupported and as is. In my opinion, if there is a way to get it to work as you want, I would consider this a desirable result. You can check if the class providing the extension point documents any restrictions, but even if not, if you have a working solution, go for it.

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
× 10,938

Question asked: Aug 28 '13, 4:49 a.m.

Question was seen: 5,314 times

Last updated: Dec 03 '13, 3:02 a.m.

Confirmation Cancel Confirm