Sha256: 1d17ea5ea5cedf6bb027dbff4624661808348a7daa5b6f2ff9c07dc307923991

Contents?: true

Size: 831 Bytes

Versions: 4

Compression:

Stored size: 831 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>Arguments</th>
  </tr>
  <% Resque.schedule.each do |name, config| %>
    <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['args'].inspect %></td>
    </tr>
  <% end %>
</table>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
resque-scheduler-1.0.3 lib/resque_scheduler/server/views/scheduler.erb
resque-scheduler-1.0.2 lib/resque_scheduler/server/views/scheduler.erb
resque-scheduler-1.0.1 lib/resque_scheduler/server/views/scheduler.erb
resque-scheduler-1.0.0 lib/resque_scheduler/server/views/scheduler.erb