{% for job in chas.get_jobs() %} {% if job.next_run is string %} {% else %} {% endif %} {% if job.last_run is string %} {% else %} {% endif %} {% endfor %}
Name Description Next run Last run Last status Run
{{ job.name }} {{ job.description }}{{ job.next_run }}{{ job.next_run.strftime("%d-%m-%Y %H:%M:%S") }}{{ job.last_run }}{{ job.last_run.strftime("%d-%m-%Y %H:%M:%S") }}{{ job.last_state.status }} {% if job.last_state.detail is not none %} ({{ job.last_state.detail }}) {% endif %}