Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 711 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 711 Bytes

CandleClock

:timer for cats ecto databases.

Timers created with CandleClock are stored and tracked in an ecto database. This means that timers will now survive restarts of your application.

CandleClock can handle erlang clusters by using row-level locks to isolate the next job to be run in each worker.

Timers can have the following types:

  • delay
  • interval
  • cron
  • specific date and time

Read the docs for more in-depth information: https://hexdocs.pm/candle_clock

Installation

The package can be installed by adding candle_clock to your list of dependencies in mix.exs:

def deps do
  [
    {:candle_clock, "~> 1.4"}
  ]
end