Recurring Jobs

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