For crone

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.

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 P.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs