Sha256: d98216fe9dcc3518be385e2648d6333182d8bab18863a219fecd2a17f525d3d6

Contents?: true

Size: 803 Bytes

Versions: 7

Compression:

Stored size: 803 Bytes

Contents

<% timestamp = params[:timestamp].to_i %>

<h1>Delayed jobs scheduled for <%= format_time(Time.at(timestamp)) %></h1>

<p class='sub'>Showing <%= start = params[:start].to_i %> to <%= start + 20 %> of <b><%=size = resque.delayed_timestamp_size(timestamp)%></b> jobs</p>

<table class='jobs'>
  <tr>
    <th>Class</th>
    <th>Args</th>
  </tr>
  <% jobs = resque.delayed_timestamp_peek(timestamp, start, 20) %>
  <% jobs.each do |job| %>
    <tr>
      <td class='class'><%= job['class'] %></td>
      <td class='args'><%= h show_job_arguments(job['args']) %></td>
    </tr>
  <% end %>
  <% if jobs.empty? %>
    <tr>
      <td class='no-data' colspan='2'>There are no pending jobs scheduled for this time.</td>
    </tr>
  <% end %>
</table>

<%= partial :next_more, :start => start, :size => size %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
resque-scheduler-4.10.2 lib/resque/scheduler/server/views/delayed_timestamp.erb
resque-scheduler-4.10.1 lib/resque/scheduler/server/views/delayed_timestamp.erb
resque-scheduler-4.10.0 lib/resque/scheduler/server/views/delayed_timestamp.erb
resque-scheduler-4.9.0 lib/resque/scheduler/server/views/delayed_timestamp.erb
resque-scheduler-4.8.0 lib/resque/scheduler/server/views/delayed_timestamp.erb
resque-scheduler-4.7.0 lib/resque/scheduler/server/views/delayed_timestamp.erb
resque-scheduler-4.6.0 lib/resque/scheduler/server/views/delayed_timestamp.erb