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
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
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/.
>
> >
>