Delayed Jobs

<%- size = resque.delayed_queue_schedule_size %> <%= scheduler_view :search_form, layout: false %>

<%= @error_message %>

This list below contains the timestamps for scheduled delayed jobs. Server local time: <%= Time.now %>

Showing <%= start = params[:start].to_i %> to <%= start + 20 %> of <%= size %> timestamps

<% resque.delayed_queue_peek(start, 20).each do |timestamp| %> <% job = resque.delayed_timestamp_peek(timestamp, 0, 1).first %> <% end %>
Timestamp Job count Class Args All schedules
" method="post">
"><%= format_time(Time.at(timestamp)) %> <%= delayed_timestamp_size = resque.delayed_timestamp_size(timestamp) %> <% if job && delayed_timestamp_size == 1 %> <%= h(job['class']) %> <% else %> ">see details <% end %> <%= h(show_job_arguments(job['args'])) if job && delayed_timestamp_size == 1 %> <% if job %> All schedules <% end %>
<% if size > 0 %>
<% end %> <%= partial :next_more, :start => start, :size => size %>