Run schedule on first replica only - option

I have just moved a project to use replicas and have been hit with the issue of schedules firing for each replica.

While I understand the need for it to sometimes fire for all (and I appreciate there are alternatives in using Bull Queues etc.), it would be useful to have a settings option for each schedule to 'only fire for first replica' as a checkbox.

That way, in a very simple way, they can be prevented from firing multiple times when they shouldn't

The ideal situation would be to have a separate container just for running schedules, called "worker"

2 Likes

Bump