{% load i18n %} {% if widget and not schedules %}

You repeat the same sequence of tasks over and over again?
If so, define a task to simplify running the sequence and avoid mistakes.

You can also schedule the execution automatically at specific times.

{% else %} {% if not widget %}

{% trans "Run a sequence of tasks, and schedule it to run automatically." %}

{% endif %}
{% if not widget %}
{% trans "name"|capfirst %}
{% trans "next scheduled run"|capfirst %}
{% else %}
{% trans "name"|capfirst %}
{% trans "started"|capfirst %}
{% trans "finished"|capfirst %}
{% trans "status"|capfirst %}
{% endif %}
{% for schedule in schedules %}
{% csrf_token %}
{% if not widget %}
{{ schedule.name }}
{% if schedule.next_run %}
{{ schedule.next_run|date:"DATE_FORMAT" }} {{ schedule.next_run|date:"H:i:s" }}
{% elif not schedule.name %}
{% endif %}
{% else %}
{{ schedule.name }}
{{ schedule.lastrun.started|date:"DATE_FORMAT" }} {{ schedule.lastrun.started|date:"H:i:s" }}
{{ schedule.lastrun.finished|date:"DATE_FORMAT" }} {{ schedule.lastrun.finished|date:"H:i:s" }}
{{ schedule.lastrun.status }} {% if schedule.lastrun.status == 'Waiting' or "%" in schedule.lastrun.status %}  {% endif %}
{% endif %} {% if perms.execute.add_scheduledtask and not widget %}
{% endif %}
{% if perms.execute.add_scheduledtask %}
{% for t in schedule.data.tasks %}
 
{% endfor %} {% if not widget %}
{% endif %}
{% endif %} {% endfor %} {% if perms.execute.add_scheduledtask and not widget %}
 
{% endif %} {% endif %}