Quantum v2.3.4 Quantum.RunStrategy.All View Source
Run job on all node of the node list
If the node list is :cluster
, all nodes of the cluster will be used.
Mix Configuration
config :my_app, MyApp.Scheduler,
jobs: [
# Run on all nodes in cluster
[schedule: "* * * * *", run_strategy: {Quantum.RunStrategy.All, :cluster}],
# Run on all nodes of given list
[schedule: "* * * * *", run_strategy: {Quantum.RunStrategy.All, [:"node@host1", :"node@host2"]}],
]
Link to this section Summary
Functions
Normalize given config to a value that has Quantum.RunStrategy.NodeList
implemented
Link to this section Types
Link to this section Functions
Normalize given config to a value that has Quantum.RunStrategy.NodeList
implemented.
Raise / Do not Match on invalid config.
Callback implementation for Quantum.RunStrategy.normalize_config!/1
.