On 06 Jul 2011, at 01:52, Andrew wrote:

the whenever gem is also me! take a look into github

"Whenever is a Ruby gem that provides a clear syntax for writing and
deploying cron jobs."

Like I said before, I am not trying to schedule a cron job, I am
trying to display a schedule of events.

I believe you're looking for temporal expressions. There are a few gems out there that do that kind of thing. I believe it'll just come down to which API you like best:

http://rubygems.org/gems/temporals
http://texp.rubyforge.org/
http://runt.rubyforge.org/

You can combine Runt with Chronic if you want:
http://townx.org/blog/elliot/ruby_temporal_expressions

For more information, you can just google "ruby temporal expressions", plenty of information out there.

Hope this helps.


Best regards

Peter De Berdt

--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to