Multiple clockwork processes detected
<% elsif ClockworkWeb.running? %>Clockwork is running
<% else %>Clockwork is not running <% if @last_heartbeat %> - last heartbeat was <%= time_ago_in_words(@last_heartbeat) %> ago <% end %>
<% end %> <% end %> <% else %>Add Redis for monitoring and disabling jobs
<% end %>Job | Period | Last Run | Action |
---|---|---|---|
<%= event.job %> | <%= friendly_period(event.instance_variable_get(:@period)) %> <% at = event.instance_variable_get(:@at) %> <% if at %> at <%= friendly_time_part(at.instance_variable_get(:@hour)) %>:<%= friendly_time_part(at.instance_variable_get(:@min)) %> <% end %> <% if event.instance_variable_get(:@if) %> if __ <% end %> | <%= last_run(@last_runs[event.job]) %> | <%= button_to enabled ? "Disable" : "Enable", home_job_path(job: event.job, enable: !enabled), disabled: !ClockworkWeb.redis %> |