{% extends 'base.html' %} {% block title %}Aufgaben · imgsrx{% endblock %} {% block content %}

{{ state_label(kind) }}.

{{ quantity(total, 'Aufgabe', 'Aufgaben') }} · {{ 'Anstehend und laufend' if status == 'active' else 'Alle Zustände' if status == 'all' else state_label(status) }}

Zurück zum Betrieb →
{% for row in rows %}{% set job = row.job %}

Aufgabe {{ job.id }} · {{ 'Bildserver-Freigabe prüfen' if row.approval_host else state_label(job.status) }}

{% if row.source %}Quelle {{ row.source.domain }} →{% endif %} {% if job.run_id %}Crawl-Lauf →{% endif %} {% if job.status not in ["pending", "running"] %}

Historischer Auftrag · {{ timestamp(job.completed_at) }}

{% endif %} {% if row.origin %}{% set shown_url = current_request_url(row.source, row.origin.url) if row.source and job.status in ["pending", "running"] else row.origin.url %}

Seite: {{ shown_url }} ↗

{% elif kind == 'crawler' %}

{{ current_request_url(row.source, job.url) if row.source and job.status in ['pending', 'running'] else job.url }}

{% endif %} {% if row.image %}

Bild {{ row.image.id }} im lokalen Index →

{% endif %} {% if row.approval_host %}

Das Bild liegt auf {{ row.approval_host }}. Für diesen Bildserver fehlt eine Freigabe oder eine erneute Prüfung. Bildserver beim Crawl freigeben und erneut prüfen →

{% elif job.error_type %}

{{ state_label(job.error_type) }}

{% endif %}

{{ quantity(job.attempts, 'Versuch', 'Versuche') }} · {% if row.approval_host %}Keine automatische Wiederholung ohne Freigabe.{% elif job.status == 'pending' and job.attempts %}Nächster Versuch: {{ timestamp(job.available_at) }}{% elif job.status == 'failed' %}Endgültig beendet. {% if job.error_type in ['robots_denied','blocked','image_decode_error'] %}Die Abruf- bzw. Inhaltsanforderungen wurden nicht erfüllt. Keine unveränderte Wiederholung erforderlich.{% else %}Ursache im Betrieb oder an der Quelle prüfen, bevor eine neue Verarbeitung gestartet wird.{% endif %}{% elif job.status == 'skipped' %}Verarbeitung wurde ausgelassen; keine automatische Wiederholung.{% else %}{{ state_label(job.status) }}{% endif %}

{% if job.error %}
Technische Fehlerangaben

{{ job.error_type }} · {{ job.error }}

{% endif %}
{% else %}

Keine Aufgaben in dieser Auswahl. Gespeicherte Aufgaben ansehen →

{% endfor %} {% endblock %}