Sha256: dd660da7c40ffc8c87cc0123ee86ba889214467e142b65de7d9ea029839df0cf

Contents?: true

Size: 975 Bytes

Versions: 23

Compression:

Stored size: 975 Bytes

Contents

<h1>Schedule</h1>

<p class='intro'>
  The list below contains all scheduled jobs.  Click &quot;Queue now&quot; to queue
  a job immediately.
</p>

<table>
  <tr>
    <th></th>
    <th>Name</th>
    <th>Description</th>
    <th>Cron</th>
    <th>Class</th>
    <th>Queue</th>
    <th>Arguments</th>
  </tr>
  <% Resque.schedule.keys.sort.each do |name| %>
    <% config = Resque.schedule[name] %>
    <tr>
      <td>
        <form action="<%= url "/schedule/requeue" %>" method="post">
          <input type="hidden" name="job_name" value="<%= h name %>">
          <input type="submit" value="Queue now">
        </form>
      </td>
      <td><%= h name %></td>
      <td><%= h config['description'] %></td>
      <td style="white-space:nowrap"><%= h config['cron'] %></td>
      <td><%= h config['class'] %></td>
      <td><%= h config['queue'] || queue_from_class_name(config['class']) %></td>
      <td><%= h config['args'].inspect %></td>
    </tr>
  <% end %>
</table>

Version data entries

23 entries across 23 versions & 3 rubygems

Version Path
resque-scheduler-1.8.2 lib/resque_scheduler/server/views/scheduler.erb
resque-scheduler-1.8.1 lib/resque_scheduler/server/views/scheduler.erb
resque-scheduler-1.8.0 lib/resque_scheduler/server/views/scheduler.erb