Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
/ delayed_job_web Public archive
forked from ejschmitt/delayed_job_web

Resque like web interface for delayed job

License

Notifications You must be signed in to change notification settings

DYE/delayed_job_web

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

delayed_job_web

A resque inspired (read: stolen) interface for delayed_job. This gem is written to work with rails 3 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 Applications

Add the dependency to your Gemfile

gem "delayed_job_web"

Install it...

bundle

Add a route to your application for accessing the interface

match "/delayed_job" => DelayedJobWeb, :anchor => false

You probably want to password protect the interfce, an easy way is to add something like this your config.ru file

if Rails.env.production?
  DelayedJobWeb.use Rack::Auth::Basic do |username, password|
    username == 'username'
    password == 'password'
  end
end

The Interface - Yea, a ripoff of resque-web

Screen shot

Screen shot

Author

Erick Schmitt - @ejschmitt

About

Resque like web interface for delayed job

Resources

License

Stars

Watchers

Forks

Packages

No packages published