<% title 'Jobs' %> Page last updated:
Updated now
Start Loading Stop Loading <% if jobs.any? %> <% jobs.each do |job| %> <% end %> <% else %> <% end %>
ID Status Created At Run At Attempts Last Error Actions
<%= link_to "##{job.id}", job_path(job) %> <%= job.status.capitalize %> <%= job.created_at %> <%= job.run_at %> <%= job.attempts %> <%= link_to_if job.last_error.present?, truncate(job.last_error), job_path(job) %> <% if job.can_invoke? %> <%= button_to 'Invoke', invoke_job_path(job), method: :put, class: 'btn btn-mini', form_class: 'btn-rails pull-left' %> <% end %> <% if job.can_queue? %> <%= button_to 'Run Next', queue_job_path(job), method: :put, class: 'btn btn-mini', form_class: 'btn-rails pull-left' %> <% end %> <% if job.can_destroy? %> <%= button_to 'Delete', job_path(job), method: :delete, class: 'btn btn-danger btn-mini', form_class: 'btn-rails pull-right' %> <% end %>
An empty queue is a good queue.