Grizzly.FirmwareUpdates.OTWUpdateRunner (grizzly v8.15.3)

View Source

Task for running an OTW update for a Z-Wave controller module.

Summary

Functions

Returns a specification to start this module under a supervisor.

Start the OTW update runner. Don't use this from IEx -- use start_supervised/1 instead.

Start the OTW update runner under Grizzly.TaskSupervisor.

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

arg is passed as the argument to Task.start_link/1 in the :start field of the spec.

For more information, see the Supervisor module, the Supervisor.child_spec/2 function and the Supervisor.child_spec/0 type.

start_link(opts \\ [])

Start the OTW update runner. Don't use this from IEx -- use start_supervised/1 instead.

Options

  • :delay - The delay before the update starts (default: 1 minute).

start_supervised(opts \\ [])

Start the OTW update runner under Grizzly.TaskSupervisor.

Same options as start_link/1.