Recurring Jobs

<%= erb File.read(File.join(view_path, '_home_nav.erb')) %>
<% if @workers.length > 0 %> <% @workers.each do |worker| %> <% schedule = worker.schedule %> <% end %>
Worker Queue Next Run Actions
"><%= worker.name %> <%= worker.get_sidekiq_options["queue"] %> <% @next = schedule.next_occurrence(@time) %> <% if @next.nil? %> No schedule <% else %> <%= relative_time(schedule.next_occurrence(@time)) %> <% end %>
" method="post">
<% else %>
No recurring jobs found.
<% end %>