ExCron v0.0.3 ExCron.Parser

Module that parses a cron string into a representation that can be used by code.

Summary

Functions

Parse a cron string into a tuple

Functions

parse(cron)

Parse a cron string into a tuple

Example

iex> ExCron.Parser.parse "0 0 1 1 *"
{:ok, %ExCron.Cron{minutes: [0], hours: [0], days_of_month: [1], months: [1], days_of_week: [0,1,2,3,4,5,6]}}