Cron schedule generator for Elixir.
ExCron is a simple library that will generate the next instance of a cron schedule or all instances within a given date range. The design and implementation of the parser and matcher are inspired by the Quantum library and episodes 161 and 162 of ElixirSips.
ExCron is only meant to work with cron schedules. Repeatex offers similar functionality using natural English expressions.s
Until the library is ready for release, you will need to add a reference to the github repository to use it:
-
Add ex_cron to your list of dependencies in
mix.exs
:def deps do [{:ex_cron, github: "codestuffers/ex-cron"}] end
Andrew Benz (@andorbal)
ExCron is released under the MIT License. See the LICENSE file for further details.