cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CompositeCronJob - run dependently in sequence

Former Member
0 Likes
458

From docs - source https://wiki.hybris.com/pages/viewpage.action?spaceKey=release5&title=cronjob+-+Technical+Guide

When the CompositeCronJob is run, then the individual entries are executed sequentially and independently of one another, in the order specified by the compositeEntries attribute. If one entry has finished the execution, the next entry is executed, whether the finished entry has completed successfully or not

We can control this with our own logic. Does hybris provide a way to run jobs in sequence and dependant - On failure force rest of the jobs not to run?

Accepted Solutions (0)

Answers (1)

Answers (1)

andyfletcher
Active Contributor
0 Likes

No, not oob with CompositeCronJob.

The source for CompositeJobPerformable is there in the platform at platform/ext/platformservices/src/de/hybris/platform/catalog/job/CompositeJobPerformable.java so just use it as the inspiration for your own performable and check the status of the finished cronjob before continuing in the loop.