Hey, Checkout 'whenever'. Just used it for one of my projects. Worked nicely, easily. All ruby, no fuss or weird cron job strings.
http://github.com/javan/whenever http://github.com/javan/whenever/blob/master/README.rdoc http://wiki.github.com/javan/whenever/instructions-and-examples Or if you do better with screencasts: http://railscasts.com/episodes/164-cron-in-ruby Hope this helps. Regards Kieran On Sep 19, 7:33 pm, Preksha Patel <[email protected]> wrote: > hi all, > > i haven't used cron yet but now i want to use it and got some idea > about cron from google but not exactly.. > so i want to use cron in ruby on rails application. in application i > want to fire some query everyday so where i should write the code for > query so that when cron is run that query is also fire?? > > can any one please help me?? > > thanks, > Preksha. > -- > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

