Hey, I need to have a process running that will do something every minute (check value of some stuff). Is there something in Rails that I can use to do this? -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 26 Apr 2007, at 16:09, Joe Peck wrote:> I need to have a process running that will do something every minute > (check value of some stuff). Is there something in Rails that I > can use > to do this?Depends on what you mean: if you want to update the user''s browser every minute when a certain page is loaded, you can use a periodical updater. If it''s a background process, you can use a cron tab and use "script/runner", i.e. if it calculating values in the background without any visual feedback. Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> Depends on what you mean: if you want to update the user''s browser > every minute when a certain page is loaded, you can use a periodical > updater. If it''s a background process, you can use a cron tab and use > "script/runner", i.e. if it calculating values in the background > without any visual feedback. > > > Best regards > > Peter De BerdtThe "cron tab" sounds more like what I want to do. Time to search for information about that. Do you have an example of how to use a cron tab and script/runner for something like this? -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 26 Apr 2007, at 16:40, Joe Peck wrote:>> Depends on what you mean: if you want to update the user''s browser >> every minute when a certain page is loaded, you can use a periodical >> updater. If it''s a background process, you can use a cron tab and use >> "script/runner", i.e. if it calculating values in the background >> without any visual feedback. >> >> >> Best regards >> >> Peter De Berdt > > The "cron tab" sounds more like what I want to do. Time to search for > information about that. Do you have an example of how to use a > cron tab > and script/runner for something like this?http://wiki.rubyonrails.org/rails/pages/HowToRunBackgroundJobsInRails Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---