Questions tagged [backgroundrb]

BackgrounDRb is a Ruby job server and scheduler

BackgrounDRb is a Ruby job server and scheduler.

Its main intent is to be used with Ruby on Rails applications for offloading long-running tasks. Since a Rails application blocks while serving a request it is best to move long-running tasks off into a background process that is divorced from http request/response cycle.

http://backgroundrb.rubyforge.org/

17 questions
0
votes
1 answer

Rails backgroundRB plugin need to schedule it and queue to database for persistancy

I'm trying to do the following: Run a Worker and a method within it every 15 minutes Have a log of the job last runtime, in the database table bdrd_job_queue. What I've done: I have a schedule every 15 minutes in my backgroundRB.yml file The…
user62605
  • 185
  • 1
  • 10
0
votes
1 answer

How to recover cancelled (taken) jobs in case of BackgroundRB crash?

The problem: we have jobs that run from a few seconds to a few minutes in BackgroundRB from a Rails app. But, what happens when we deploy new code and restart BackgroundRB when it's performing a task? BackgroundRB does not seem to pick up any…
Ariejan
  • 10,910
  • 6
  • 43
  • 40
1
2