Getting Started

Installation

  1. Add crontab to your list of dependencies in mix.exs:

    def deps do
     [{:crontab, "~> 0.8.5"}]
    end
  2. 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