From: Fabio Cevasco Date: 2011-02-03T01:09:42+09:00 Subject: Re: General conceptual question --0023547c8fcde7881e049b4eded3 Content-Type: text/plain; charset=UTF-8 There's a whole book about this: Distributed Programming with Ruby -- http://www.amazon.com/Distributed-Programming-Ruby-Mark-Bates/dp/0321638360 In short, you could have a look at the dRb library or similar. If you can please forgive the shameful self-promotion, I would recommend having a look at the following review of the above-mentioned book, which contains some useful on this matter :-) http://www.h3rald.com/articles/distributed-programming-with-ruby-review/ Fabio Cevasco ======================= web: http://www.h3rald.com twitter: http://twitter.com/h3rald On Wed, Feb 2, 2011 at 4:58 PM, John Detloff wrote: > Hello, I'm fairly new to Ruby so sorry if this is a basic question. > > I'm trying to have a script that runs at all times, pulling tasks from a > queue. I'd like to then be able to run another script from the console > that adds a tasks to the array being used by the first script. > > So my question is, what sort of method could be used to accomplish > something like this? And guidance as to what I should be looking up > would be greatly appreciated. > > I'm feeling its related to events, interrupts, threading, etc, but I'm > inexperienced with these concepts, suggestions for guides that would be > helpful would be greatly appreciated as well. > > Thanks in advance for any help! > > -- > Posted via http://www.ruby-forum.com/. > > --0023547c8fcde7881e049b4eded3--