Module ecron_sup

September 1, 2011 ยท View on GitHub

Module ecron_sup

Supervisor module.

Authors: Francesca Gangemi (francesca.gangemi@erlang-solutions.com).

Function Index

init/1Whenever a supervisor is started using supervisor:start_link/2,3, this function is called by the new process to find out about restart strategy, maximum restart frequency and child specifications.
start_link/0Starts the supervisor.

Function Details

init/1

init(Args) -> {ok, {SupFlags, [ChildSpec]}} | ignore



Whenever a supervisor is started using supervisor:start_link/2,3, this function is called by the new process to find out about restart strategy, maximum restart frequency and child specifications.

start_link/0

start_link() -> {ok, Pid} | ignore | {error, Error}



Starts the supervisor