Sha256: abd1b73d4091b8cddf210f32fe5c2c1ca8cfb69feacdc692464799f8958de866
Contents?: true
Size: 1.39 KB
Versions: 1
Compression:
Stored size: 1.39 KB
Contents
delayed_job_web =============== A [resque][0] inspired (read: stolen) interface for delayed_job. This gem is written to work with rails 3 and 4 applications using activerecord. Some features: * Easily view jobs enqueued, working, pending, and failed. * Queue any single job. or all pending jobs, to run immediately. * Remove a failed job, or easily remove all failed jobs. * Watch delayed_job operation with live ajax polling. Quick Start For Rails 3 and 4 Applications ------------------------------------ Add the dependency to your Gemfile ```ruby gem "delayed_job_web" ``` Install it... ```ruby bundle ``` Add a route to your application for accessing the interface ```ruby get "/delayed_job" => DelayedJobWeb, :anchor => false ``` You probably want to password protect the interface, an easy way is to add something like this your config.ru file ```ruby if Rails.env.production? DelayedJobWeb.use Rack::Auth::Basic do |username, password| username == 'username' && password == 'password' end end ``` `delayed_job_web` runs as a Sinatra application within the rails application. Visit it at `/delayed_job_web`. The Interface - Yea, a ripoff of resque-web ------------------------------------  Author ------ Erick Schmitt - [@ejschmitt][1] [0]: https://github.com/defunkt/resque [1]: http://twitter.com/ejschmitt
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
delayed_job_web-1.2.2 | README.markdown |