# `Bildad.Job.JobKiller`
[🔗](https://github.com/Cobenian/bildad/blob/main/lib/job/job_killer.ex#L1)

The JobKiller module is responsible for killing jobs that have run too long.

# `child_spec`

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 `t:Supervisor.child_spec/0` type.

# `run`

Checks for jobs that need to be killed ON THIS NODE and tries to kill them.

# `start_link`

Starts the JobKiller task with the provided options. This task should be run on each node.

The repo is required and is the database repository to use for job management.
The check time is the number of seconds between checks for jobs to kill. It is OPTIONAL and defaults to 60 seconds.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
