You can use whenever plugin for managing cron jobs. And there are
enough tutorials available on Internet about cron, it's a very simple
thing, you can read and understand.

Use script/runner to run ActiveRecord kind of queries, a google search
on it will help. Otherwise you can run mysql queries also if you wish
so.

PS: It's not crone but cron.

--
अभिनव
http://twitter.com/abhinav




On Sat, Sep 19, 2009 at 12:57 PM, Preksha Patel
<[email protected]> wrote:
>
> hi all,
>
> i haven't used crone yet but now i want to use it and got some idea
> about crone from google but not exactly..
> so i want to use crone 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 crone is run that query is also fire??
>
> can any one please help me??
>
> thanks,
> Preksha.
> --
> Posted via http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to