Kitto v0.3.0 Kitto.Runner

Module responsible for loading job files

Summary

Functions

Returns all the registered jobs

Returns the directory where the job scripts are located

Updates the list of jobs to be run with the provided one

Reloads all jobs defined in the given file

Starts the runner supervision tree

Stops all jobs defined in the given file

Functions

jobs(server)

Returns all the registered jobs

jobs_dir()

Returns the directory where the job scripts are located

register(server, job)

Updates the list of jobs to be run with the provided one

reload_job(server, file)

Reloads all jobs defined in the given file

start_link(opts)

Starts the runner supervision tree

stop_job(server, file)

Stops all jobs defined in the given file