mirror of
https://github.com/endofunky/sidetiq.git
synced 2022-11-09 13:53:30 -05:00
23 lines
673 B
Text
23 lines
673 B
Text
header.row
|
|
.span5
|
|
h3 Recurring Jobs
|
|
|
|
- if @schedules.length > 0
|
|
table class="table table-striped table-bordered table-white" style="width: 100%; margin: 0; table-layout:fixed;"
|
|
thead
|
|
th style="width: 50%" Worker
|
|
th style="width: 20%" Queue
|
|
th style="width: 20%" Next Run
|
|
th style="width: 10%" Actions
|
|
- @schedules.each do |worker, schedule|
|
|
tr
|
|
td
|
|
= worker.name
|
|
td= worker.get_sidekiq_options['queue']
|
|
td
|
|
== relative_time(schedule.next_occurrence(@time))
|
|
td
|
|
a href="#{root_path}sidetiq/#{worker.name}" Details
|
|
- else
|
|
.alert.alert-success No recurring jobs found.
|
|
|