Getting Started
Installation
Add
crontab
to your list of dependencies inmix.exs
:def deps do [{:crontab, "~> 0.8.5"}] end
Ensure
crontab
is started before your application:def application do [applications: [:crontab]] end
Import cron expression sigil
Everywhere you want to use the cron expression sigil (e[cron expression]
), import Crontab.CronExpression
.
import Crontab.CronExpression