About Cron

Hello~!
I use the Cron node to do something.But I need use multiple n8n instance.And I set every minute to run about the cron node.I found the logs output in one server,the other server output after one miniutes.The Cron in multiple instance is correct,each instances run by turns.
I read the source Coude,I could not found the reason. I found in Cron.node.ts that run this code:

const executeTrigger = () => {
   this.emit([this.helpers.returnJsonArray([{}])]);
};

I want to know how multiple instance run the same cron by turns,rather than each insance run ervey minutes.
Please~~!!!

No that is not possible. n8n is currently designed that only one instance runs at a time. The Cron node is also just one thing that will cause problems there are also many others.

If you need more “power” you should checkout our queue mode: Scaling n8n | Docs