ExSchedule v0.1.0 ExSchedule.ScheduledTask

Module responsible to isolate in a process, each recurring event declared with ExSchedule.Schedule.

Link to this section Summary

Functions

Starts a scheduled task process

Returns statistcs for the given task process

Link to this section Functions

Link to this function start_link(schedule)
start_link(list()) :: GenServer.on_start()

Starts a scheduled task process

Link to this function stats(pid)
stats(pid()) :: %{
  runs: integer(),
  failures: integer(),
  last_completed_in: nil | number()
}

Returns statistcs for the given task process