Sha256: 64d88f59ab3f1de3b837e3dfdbe23921c65034bf42b3f1cd64ca606e05adb04e

Contents?: true

Size: 1.11 KB

Versions: 28

Compression:

Stored size: 1.11 KB

Contents

<h1>Delayed Jobs</h1>

<p class='intro'>
  This list below contains the timestamps for scheduled delayed jobs.
</p>

<p class='sub'>
  Showing <%= start = params[:start].to_i %> to <%= start + 20 %> of <b><%=size = resque.delayed_queue_schedule_size %></b> timestamps
</p>

<table>
  <tr>
    <th>Timestamp</th>
    <th>Job count</th>
    <th>Class</th>
    <th>Args</th>
  </tr>
  <% resque.delayed_queue_peek(start, start+20).each do |timestamp| %>
    <tr>
      <td><a href="<%= url "delayed/#{timestamp}" %>"><%= format_time(Time.at(timestamp)) %></a></td>
      <td><%= delayed_timestamp_size = resque.delayed_timestamp_size(timestamp) %></td>
      <% job = resque.delayed_timestamp_peek(timestamp, 0, 1).first %>
      <td>
        <% if job && delayed_timestamp_size == 1 %>
          <%= h(job['class']) %>
        <% else %>
          <a href="<%= url "delayed/#{timestamp}" %>">see details</a>
        <% end %>
      </td>
      <td><%= h(job['args'].inspect) if job && delayed_timestamp_size == 1 %></td>
    </tr>
  <% end %>
</table>

<%= render(:partial => 'next_more', :locals => {:start => start, :size => size}) %>

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
resque_manager-3.3.13 app/views/resque_manager/resque/delayed.html.erb
resque_manager-3.3.12 app/views/resque_manager/resque/delayed.html.erb
resque_manager-3.3.11 app/views/resque_manager/resque/delayed.html.erb
resque_manager-3.3.10 app/views/resque_manager/resque/delayed.html.erb
resque_manager-3.3.9 app/views/resque_manager/resque/delayed.html.erb
resque_manager-3.3.8 app/views/resque_manager/resque/delayed.html.erb
resque_manager-3.3.7 app/views/resque_manager/resque/delayed.html.erb
resque_manager-3.3.6 app/views/resque_manager/resque/delayed.html.erb
resque_manager-3.3.5 app/views/resque_manager/resque/delayed.html.erb
resque_manager-3.3.4 app/views/resque_manager/resque/delayed.html.erb
resque_manager-3.3.3 app/views/resque_manager/resque/delayed.html.erb
resque_manager-3.3.2 app/views/resque_manager/resque/delayed.html.erb
resque_manager-3.3.1 app/views/resque_manager/resque/delayed.html.erb
resque_manager-3.3.0 app/views/resque_manager/resque/delayed.html.erb
resque_ui-3.2.4 app/views/resque/delayed.html.erb
resque_ui-3.2.3 app/views/resque/delayed.html.erb
resque_ui-3.2.2 app/views/resque/delayed.html.erb
resque_ui-3.2.1 app/views/resque/delayed.html.erb
resque_ui-3.2.0 app/views/resque/delayed.html.erb
resque_ui-3.1.7 app/views/resque/delayed.html.erb