Run Rake Tasks with Delayed Job February 25, 2008
Posted by John Dewey in Code, Delayed::Job, Example, Rails, Rake.trackback
We needed to execute a Rake Task in the background, when a particular event occurred in Rails. We decided to give Delayed::Job aka DJ a shot. This “decorator” will execute a Rake task, while optionally passing ENV variables to the task.
Comments»
No comments yet — be the first.