It's all about the answers!

Ask a question

How to set asynchronous task to run once every week?


SEC Servizi (97123860) | asked Aug 28 '13, 4:49 a.m.
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.

3 answers



permanent link
Marek Siekierski (817510) | answered Aug 30 '13, 11:26 a.m.
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.

permanent link
SEC Servizi (97123860) | answered Dec 02 '13, 11:09 a.m.
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?

Comments
SEC Servizi commented Dec 03 '13, 2:51 a.m.

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
Ralph Schoon (63.5k33646) | answered Dec 02 '13, 11:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Have you considered to create a new extension and the task there?

Comments
Ralph Schoon commented Dec 03 '13, 3:02 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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 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.