Module ecrn_cron_sup

Simple one for one supervisor for ecd_chron jobs.

Copyright © Erlware, LLC. All Rights Reserved. This file is provided to you under the BSD License; you may not use this file except in compliance with the License. -------------------------------------------------------------------

Behaviours: supervisor.

Description

Simple one for one supervisor for ecd_chron jobs.

Function Index

add_job/2 Add a chron job to be supervised.
start_link/0

Function Details

add_job/2

add_job(JobRef::erlcron:job_ref(), Task::erlcron:job()) -> erlcron:job_ref()

Add a chron job to be supervised

start_link/0

start_link() -> {ok, pid()} | ignore | {error, term()}


Generated by EDoc