{% extends "admin/layout.html" %} {% block content %} {# Breadcrumb #} {# Page heading #}

Queue

Monitor pending jobs and manage failed jobs.

{# ── Failed Jobs ─────────────────────────────────────────────────── #}

Failed Jobs {% if failed_jobs %} {{ failed_jobs | length }} {% endif %}

{% if failed_jobs %}
{% endif %}
{% if failed_table_missing %}

The jobs_failed table does not exist. Run your queue migrations first.

{% elif not failed_jobs %}

No failed jobs.

{% else %}
{% for job in failed_jobs %} {% endfor %}
ID Queue Job Exception Failed At Actions
{{ job.id }} {{ job.queue }} {{ job._job_class }} {% if job._exception_short %}
{{ job._exception_short[:80] }}{% if job._exception_short | length > 80 %}…{% endif %}
{{ job._exception_short }}
{% else %} {% endif %}
{{ job._failed_at_fmt }}
{% endif %}
{# ── Pending / Processing Jobs ────────────────────────────────────── #}

Pending Jobs {% if pending_jobs %} {{ pending_jobs | length }} {% endif %}

{% if jobs_table_missing %}

The jobs table does not exist. Run your queue migrations first.

{% elif not pending_jobs %}

No jobs in queue.

{% else %}
{% for job in pending_jobs %} {% endfor %}
ID Queue Job Status Attempts Created At
{{ job.id }} {{ job.queue }} {{ job._job_class }} {% if job._status == 'Processing' %} Processing {% elif job._status == 'Delayed' %} Delayed {% else %} Pending {% endif %} {{ job.attempts }} {{ job._created_at_fmt }}
{% endif %}
{% endblock %}