Hello,

I have several task defined in ni_cron, which need to be executed in the right order. Is there any possibility to configure that? Or are they executed randomly?

Thanks!

Comments

pla_peppermind’s picture

Component: Documentation » Code
Category: support » feature

I played around a little bit and found out that they are all executed at the same time. That's kind a problem if reference fields are used and all the data is deleted on import. Would it be possible to introduce some kind of execution order or is that impossible?

dealancer’s picture

Well, it is interesting issue. I am not sure if it possible to make in ni_cron module, but I will investigate this.

julianmancera’s picture

Hi

Did you find how to solve this? Having the same problem, the task are executed at the same time so if a content type depends on the other there will be an issue.

Thank you

Julian