I use Delayed Jobs a lot in my Heroku app. I\'d like to setup some kind of alert when there\'s a certain amount waiting to be p开发者_JS百科rocessed, so that I can increase the amount of workers to mi
I\'m trying to make my delayed jobs hooks work, but they don\'t seem to be. Are they outdated? If they are not, can you show me an example of yours?
I\'m trying to call two lengthy commands in a when statement, but for some reason, because of its syntax, it performs two of the commands twice when it is called :
I am running a method in the background using delayed-job (collectiveideas fork) The method I am running is shown below, which fetches the price of the isbn:
I have been using delayed_job successfully for a while. I upgraded my Rails installation and now when I run:
I\'m using Rails 2.3.8 with Ruby 1.8.7. I\'ve made a new ActiveRecord model called Foo (generated using script/generate model Foo ...) with a method #self.bar(x, y) and in a controller I call Foo.send
I have开发者_开发知识库 a Rails 3 app that uses delayed_job to fetch some data (with a class method) when the user hits the page.
I use the God gem to monitor my delayed_job processes, so far the gem is doing its job as it should but from some reason 开发者_如何学GoI can\'t get him to send email notifications (i use google apps)
Is it possible to use th开发者_JS百科e delayed_job gem outside of Rails? Or put another way, can it be used in a pure Ruby project?
Occasion开发者_StackOverflow社区ally a job will increment an attempt and not perform the method regenerate_styles. I\'ve noticed that if I pass a method rengerate_styles manually to whatever the faile