I am writing to log/delayed_job.log from within a perform method: class MyWorker def perform logger.error(\"testing logger\")
I have a r开发者_Go百科uby on rails app that uses Heroku.I have the need to run things like import/export tasks on our db that lock up the whole system since they are so heavy on the DB.Is there a way
I\'m trying to get delayed job to work as a rake task, but for the life of me I can\'t figure out what I\'m doing wrong.Given the following setup:
My specific example is highly complex, so I will use the example shown by Ryan from Railscasts to discuss this:
So I\'ve had Delayed::Job running swimmingly in production for a while. Whenever i\'d make a change to a job I would (all in the production env mindyou)
I\'m looking a way to implement a precedence step on SQL Server Agent that will verify is a specific job is running. If so, the step will entry in a \"wait\" state until first job finish with success.
Here\'s my simple ideal case scenario for when I\'d like delayed job to run: When the first application server (whether through mongrel or passenger) starts, it\'ll start my delayed job workers.
I\'m using delayed_job (tried both tobi\'s and collective_idea\'s) on site5.com shared hosting, with passenger as rails environment.
The GitHub guys recently released their background processing app which uses Redis: http://github.com/defunkt/resque
I get the following error when I run my task via DelayedJob: closed stream /usr/lib/ruby/1.8/drb/drb.rb:961:in `select\'