diff --git a/app/controllers/delayed_jobs_controller.rb b/app/controllers/delayed_jobs_controller.rb
new file mode 100644
index 000000000..90d6f03c3
--- /dev/null
+++ b/app/controllers/delayed_jobs_controller.rb
@@ -0,0 +1,5 @@
+class DelayedJobsController < ApplicationController
+ def index
+ @delayed_jobs = Delayed::Job.order("created_at desc").paginate(params[:page])
+ end
+end
diff --git a/app/views/delayed_jobs/index.html.erb b/app/views/delayed_jobs/index.html.erb
new file mode 100644
index 000000000..ae10b8d8a
--- /dev/null
+++ b/app/views/delayed_jobs/index.html.erb
@@ -0,0 +1,28 @@
+
Delayed Jobs
+
+
+
+
+ | Handler |
+ Attempts |
+ Priority |
+ Last error |
+ Run at |
+ Failed at |
+
+
+
+ <% @delayed_jobs.each do |job| %>
+
+ | <%= job.handler %> |
+ <%= job.attempts %> |
+ <%= job.priority %> |
+ <%= job.last_error %> |
+ <%= job.run_at %> |
+ <%= job.failed_at %> |
+
+ <% end %>
+
+
+
+<%= numbered_paginator(@delayed_jobs) %>
diff --git a/app/views/static/site_map.html.erb b/app/views/static/site_map.html.erb
index 80b1686b9..5b217ddfb 100644
--- a/app/views/static/site_map.html.erb
+++ b/app/views/static/site_map.html.erb
@@ -92,6 +92,8 @@
Admin
- <%= link_to("Mod Actions", mod_actions_path) %>
+ - <%= link_to("Jobs", delayed_jobs_path) %>
+
<% if CurrentUser.is_admin? %>
- <%= link_to("Janitor Trials", janitor_trials_path) %>
- <%= link_to("IP Bans", ip_bans_path) %>
diff --git a/config/routes.rb b/config/routes.rb
index dccb736df..455562faa 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -67,6 +67,7 @@ Danbooru::Application.routes.draw do
get :search
end
end
+ resources :delayed_jobs, :only => [:index]
resources :dmails do
collection do
get :search