% content_for :title do %>
Status: <%= $scheduler.up? ? "Up (Started #{format_time $scheduler.started_at})".html_safe : "Down" %>
<% else %>Status: Unavailable
<% end %>Name | Last Run | Reliability | Duration | |||||
---|---|---|---|---|---|---|---|---|
<%= link_to action[:name], action_path(slug: action[:name]) %> | <% if action[:last] %><%= format_time action[:last].started_at, today: false %> <%= format_action_state action[:last] %> | <%= number_to_percentage 100.0 * action[:successful_runs].to_f / action[:runs], precision: 1 %> /<%= action[:runs] %> | <%= format_duration action[:avg_duration] %> | <% else %>— | — | — | <% end %>