Sha256: 35446b30e71ae517773ef1f454ec5132e01d6a0ff6962e60ec7aa7f2f7a1ecda
Contents?: true
Size: 1.09 KB
Versions: 6
Compression:
Stored size: 1.09 KB
Contents
<h1>Schedule</h1> <p class='intro'> The list below contains all scheduled jobs. Click "Queue now" to queue a job immediately. Server local time: <%= Time.now %> </p> <table> <tr> <th></th> <th>Name</th> <th>Description</th> <th>Interval</th> <th>Class</th> <th>Queue</th> <th>Arguments</th> </tr> <% Resque.schedule.keys.sort.each do |name| %> <% config = Resque.schedule[name] %> <tr> <td style="padding-top: 12px; padding-bottom: 2px; width: 10px"> <form action="<%= u "/schedule/requeue" %>" method="post" style="margin-left: 0"> <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 schedule_interval(config) %></td> <td><%= h schedule_class(config) %></td> <td><%= h config['queue'] || queue_from_class_name(config['class']) %></td> <td><%= h config['args'].inspect %></td> </tr> <% end %> </table>
Version data entries
6 entries across 6 versions & 1 rubygems