Enzo Rivello wrote: > Is there a way to make some method to act on a specific time? > > Right now, i managed to bypass this problem by attaching this method to > the login factor of the site (everytime an admin log in the site, also > this method is called) , but there is a more direct and time related > way?
If you're on a *NIX system your should use cron to run a standalone program. Start it with script/runner to gain access to all the models defined by your Rails application. If you just need to call a URL, use cron to run a wget to that URL. Windows has it's own scheduled tasks systems so you should be able to solve your problems there as well. -- 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 -~----------~----~----~----~------~----~------~--~---

