Sha256: 2c0eefea444be3df4de31eec06828285e93e362369428b8309aa24966bb00177
Contents?: true
Size: 1.13 KB
Versions: 5
Compression:
Stored size: 1.13 KB
Contents
<h1>Schedule</h1> <p class='intro'> The list below contains all scheduled jobs. Click "Queue now" to queue a job immediately. </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> <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"><%= (config['cron'].nil? && !config['every'].nil?) ? h('every: ' + config['every']) : h('cron: ' + 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
5 entries across 5 versions & 4 rubygems