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

+ + + + + + + + + + + + + + <% @delayed_jobs.each do |job| %> + + + + + + + + + <% end %> + +
HandlerAttemptsPriorityLast errorRun atFailed at
<%= job.handler %><%= job.attempts %><%= job.priority %><%= job.last_error %><%= job.run_at %><%= job.failed_at %>
+ +<%= 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 @@