{% extends "admin/jobs/base.html" %} {% from "admin/jobs/macros.html" import badge, timestamp with context %} {% block jobs_content %}
All tasks

{{ task.name }}

{{ task.task_id }}
{{ badge(task.status, states) }} {% if jobs_enabled and can_retry %}
{% endif %} {% if jobs_enabled and can_revoke %}
{% endif %}
Queue
{{ task.queue }}
Retries
{{ task.retries }} / {{ task.max_retries }}
Received
{{ timestamp(task.date_created) }}
ETA
{{ timestamp(task.eta) }}
Finished
{{ timestamp(task.date_done) }}
Worker
{{ task.worker or 'Unassigned' }}
{% if task.traceback %}

Latest error

{{ task.traceback }}
{% endif %}

Execution history

Most recent attempt first
{% for item in attempts %}{% set attempt = item.attempt %} {% if attempt.traceback %}{% endif %} {% else %}{% endfor %}
AttemptStateStartedFinishedRuntimeWorker
#{{ attempt.retries + 1 }}{{ 'Initial execution' if not attempt.retries else 'Retry ' ~ attempt.retries }}{{ badge(attempt.status, states) }}{{ timestamp(attempt.date_started) }}{{ timestamp(attempt.date_done) }}{{ item.runtime }}{{ attempt.worker }}
Error details ยท Attempt #{{ attempt.retries + 1 }}
{{ attempt.traceback }}
This task has not started yet.
{% if older is not none or before is not none %}{% endif %}
{% if payload is not none %}
{% for name, value in payload.items() %}

{{ 'Arguments' if name == 'args' else 'Keyword arguments' if name == 'kwargs' else 'Result' }}

{{ value }}
{% endfor %}
{% else %}
Arguments and results require permission to view task payloads.
{% endif %} {% endblock %}