A library to parse natural language date/time into a cron expression. This fork has been modified for use with midnight-js, found here: https://github.com/SleepyStrix/midnight-js
Install it yourself as:
```
gem install chronic
gem install rake
```
Midnight.parse('every 5 minutes').to_s => "*/5 * * * *"
A full list of supported natural language phrases can be found in test_parsing.rb.
In the future there'll be support for more complex repetitions - a wishlist can be found in todo.txt.
My tokeniser code is based on the excellent Tickle gem, which in turn relies on Chronic for date parsing.
Original Author: Chris Rosser [email protected]