Worker | Last Run | Last Result | Last Duration | Last Owner | Next Run Due | Actions | <% @schedules.each do |schedule| %> <% @info = schedule.schedule_info %>
---|---|---|---|---|---|---|
<%= schedule %> | <% prev = @info.prev_run %> <% if prev.nil? %> Never <% else %> <%= relative_time(Time.at(prev)) %> <% end %> | <%= @info.prev_result %> | <%= @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 %> |