commanded/commanded-scheduler

Only a single instance of the jobs scheduler may run

slashdotdash opened this issue · 1 comments

Commanded scheduler should support running on a cluster of nodes. It must ensure that only a single jobs scheduler process may be running.

It's possible to use Erlang's :global module to enforce a global process name. Example given in this DockYard post on recurring jobs.

Jobs are scheduled using a Commanded event handler. This guarantees that only one instance of the handler will run regardless of whether deployed on a single node, cluster of nodes, or multiple nodes not connected together.

Closing this as not an issue.