{% extends "_base.html" %} {% set active_page = "schedules" %} {% from "_partials/table.html" import styled_table, table_header, table_body, table_row %} {% block title %}Schedules — TaskQ Admin{% endblock %} {% block content %}

Cron Schedules

{% if error %}
{{ error }}
{% endif %} {% if not cron_installed %}
{{ notice_text }}
{% elif schedules %} {% call styled_table() %} {{ table_header(["Actor", "Cron", "TZ", "Enabled", "Next Fire", "Last Fire", "Last Error", "Failures", "Actions"]) }} {% call table_body() %} {% for s in schedules %} {% call table_row() %} {{ s.actor }} {{ s.cron_expr }} {{ s.timezone }} {% if s.enabled %} On {% else %} Off {% endif %} {{ s.next_fire_at }} {{ s.last_fired_at or "—" }} {{ s.last_fire_error[:80] if s.last_fire_error else "—" }} {% if s.consecutive_failures > 0 %} {{ s.consecutive_failures }} {% else %} 0 {% endif %}
{% if s.enabled %}
{% else %}
{% endif %}
{% endcall %} {% endfor %} {% endcall %} {% endcall %} {% else %}

No cron schedules configured.

{% endif %} {% endblock %}