on 01-26-2017 7:55 AM
Hello,
I have a chain with several steps which runs one by one with statushandler Error=Continue. That works fine.
Usually the Jobs have a runtime less than 1 min.
If the runtime of a job is greater than 4min, the next job should start immediatally (parallel).
How could I handle this?
Best regards
Dana Ullrich
Hi Dana,
This is an interesting case, the only option I see is putting a wrapper Redwood Script job around the individual jobs that submits the child and waits for 4 minutes max.
{
Job j = jcsSession.getJobDefinitionByName("<your job definition>").prepare();
jcsSession.persist();
jcsSession.waitForJob(j, 4*60*1000);
}
This will leave Job j running as a child, but it will Complete itself, allowing the chain to continue.
Regards Gerben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.