Jobs execution order

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Moritz
Advanced
Posts: 153
Joined: 07 Nov 2018, 14:05

Jobs execution order

Post by Moritz » 21 Nov 2022, 13:54

I have one scheduled task that executes the order/email/payment and order/service/delivery job.
Is there a possibility to control the execution order?
So that the order/service/delivery is executed before order/email/payment.
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: Jobs execution order

Post by aimeos » 22 Nov 2022, 14:30

No, you can't specify any dependencies because they are designed to run independently and only based on the payment/delivery status of the order item.

What you could do is to extend the job controller of the order/email/payment task and add a condition to filter by the delivery status "in progress" for example.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply