{% extends saladbar_base_template %} {% load static %} {% block title %}Salad Bar — Periodic Tasks{% endblock title %} {% block css %} {% endblock css %} {% block content %}

Periodic Tasks

All scheduled Celery Beat tasks.

Dashboard
{% if filter_enabled or filter_search or filter_type %} Clear {% endif %}
{% for task in tasks %} {% empty %} {% endfor %}
Task Schedule Status Last Run Run History Total Runs
{{ task.name }}
{{ task.task }}
{% if task.crontab %}{{ task.crontab }}{% elif task.interval %}{{ task.interval }}{% else %}—{% endif %}
{% if task.enabled %} enabled {% else %} disabled {% endif %} {% if task.latest_result %} {% if task.latest_result.status == "SUCCESS" %} {% elif task.latest_result.status == "FAILURE" %} {% elif task.latest_result.status == "STARTED" %} {% endif %} {{ task.latest_result.date_done|timesince }} ago {% else %} {% endif %} {% if task.run_history %}
{% for status in task.run_history reversed %}
{% endfor %}
{% else %} {% endif %}
{{ task.total_run_count }}
{% csrf_token %}
No periodic tasks configured.
{% endblock content %} {% block script-footer %} {% endblock script-footer %}