Recurring Jobs history

<% if @schedules.length > 0 %> <% @schedules.each do |schedule| %> <% @info = schedule.schedule_info %> <% end %>
Worker Last Run Last Result Last Duration Last Owner Next Run Due Actions
<%= schedule %> <% prev = @info.prev_run %> <% if prev.nil? %> Never <% else %> <%= relative_time(Time.at(prev)) %> <% end %> <%= @info.prev_result %> <%= sane_duration @info.prev_duration %> <%= @info.current_owner %> <% next_run = @info.next_run %> <% if next_run.nil? %> Not Scheduled Yet <% else %> <%= relative_time(Time.at(next_run)) %> <% end %>
" method="post"> <%= csrf_tag if respond_to?(:csrf_tag) %>
<% else %>
No recurring jobs found.
<% end %>