mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
b77da8d466
efficiency in picking jobs out of the queue.
30 lines
952 B
Text
Executable file
30 lines
952 B
Text
Executable file
header.row
|
|
.span5
|
|
h3 Scheduled Jobs
|
|
.span4
|
|
- if @scheduled.size > 0
|
|
== slim :_paging, :locals => { :url => "#{root_path}scheduled" }
|
|
|
|
- if @scheduled.size > 0
|
|
|
|
form action="#{root_path}scheduled" method="post"
|
|
table class="table table-striped table-bordered table-white"
|
|
thead
|
|
th width="20px"
|
|
input type="checkbox" class="check_all"
|
|
th width="25%" When
|
|
th width="10%" Queue
|
|
th Worker
|
|
th Args
|
|
- @scheduled.each do |msg, score|
|
|
tr
|
|
td
|
|
input type='checkbox' name='key[]' value='#{job_params(msg, score)}'
|
|
td== relative_time(Time.at(score))
|
|
td
|
|
a href="#{root_path}queues/#{msg['queue']}" #{msg['queue']}
|
|
td= msg['class']
|
|
td= display_args(msg['args'])
|
|
input.btn.btn-danger.pull-right type="submit" name="delete" value="Delete"
|
|
- else
|
|
.alert.alert-success No scheduled jobs were found
|