{% extends "base.html" %} {% block javascript %} {% endblock javascript %} {% block main %}

{{job.name}}

Next run: {{ job.next_run }} UTC

Interval: {{ job.interval.total_seconds() }}

{% set commands = job.command | split_command %}{% for command in commands %}{{ command }}
{% endfor %}

{% for chunk in chunks %}

  ID

{{ chunk.first.run_id }}

Host
{{ chunk.first.host }}
{% if chunk.log_url %}
Logs
Link
{% endif %}
Started
{{ chunk.first.datetime }} UTC
{% if chunk.last %} {% set total_seconds = took(chunk.first.datetime, chunk.last.datetime) %}
Ended
{{ chunk.last.datetime }} UTC
Took
{{ total_seconds }} seconds
Status
{{chunk.last.type}}
{% if chunk.last.type == 'finished' %}
Return Code
{{chunk.last.return_code}}
{% endif %} {% endif %}
{% endfor %}
{% endblock main %}