Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: c08971b7b1
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (10 sloc) 0.304 kB
namespace :jobs do
desc "Clear the delayed_job queue."
task :clear => :merb_env do
Delayed::Job.delete_all
end
desc "Start a delayed_job worker."
task :work => :merb_env do
Delayed::Worker.new(:min_priority => ENV['MIN_PRIORITY'], :max_priority => ENV['MAX_PRIORITY']).start
end
end
Jump to Line
Something went wrong with that request. Please try again.