on ‎2018 Jan 30 2:19 PM
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?
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.