Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A crontab(5) entry parser

branch: master
README.rdoc

What is this?

A crontab(5) parser.

Usage

crontab = Crontab.parse(src)

from_date = Date.parse('2009-10-10')
to_date = Date.parse('2009-10-20')

crontab.entries.each do |e|
  puts e.command
  e.schedule.from(from_date).until(to_date) do |timing|
    puts timing
  end
end
Something went wrong with that request. Please try again.