Search code examples
rubybackgroundrb

BackgrounDRB + Ruby script



I "would like" to schedule a ruby script with BackgrounDRb. Is it possible? I read the examples from these two websites, but I didn't find an answer:

Thank you.


Solution

  • I found the answer, it is impossible to execute a ruby script from a backgroundrb worker, or at least I wasn't able to do it.
    The best way that I found was to rewrite (mostly copy/paste) my ruby script into a specific worker and it works fine.