Quantum

Source

Summary

add_job(spec, job)

Adds a new job

jobs()

Returns the list of currently defined jobs

Types

fun0 :: (() -> Type)

A function/0 to be called when cron expression matches

job :: {String.t | Atom, fun0}

A job is defined by a cron expression and a function/0

Functions

add_job(spec, job)

Specs:

Adds a new job

Source
jobs()

Specs:

  • jobs :: [job]

Returns the list of currently defined jobs

Source