{% extends "base.html" %} {% set active_page = "jobs" %} {% block title %}TaskForge - Job {{ job.id[:8] }}...{% endblock %} {% block content %}
Job Information {% if job.status.value == "dead" %}
{% endif %}
Status
{{ job.status.value }}
Type
{{ job.type }}
Queue
{{ queue_name }}
Attempts
{{ job.attempts }} / {{ job.max_attempts }}
Created
{{ job.created_at|format_datetime }}
{% if job.started_at %}
Started
{{ job.started_at|format_datetime }}
{% endif %} {% if job.completed_at %}
Completed
{{ job.completed_at|format_datetime }}
{% endif %} {% if duration is not none %}
Duration
{{ duration|format_duration }}
{% endif %} {% if job.scheduled_at %}
Scheduled At
{{ job.scheduled_at|format_datetime }}
{% endif %} {% if job.locked_by %}
Locked By
{{ job.locked_by[:8] }}...
{% endif %} {% if job.tags %}
Tags
{% for k, v in job.tags.items() %} {{ k }}={{ v }} {% endfor %}
{% endif %}
Last Updated
{{ job.updated_at|format_datetime }}
{% if job.payload %}
Payload
{{ job.payload | tojson(indent=2) }}
{% endif %} {% if job.result %}
Result
{{ job.result | tojson(indent=2) }}
{% endif %} {% if job.error_message %}
Error Traceback
{{ job.error_message }}
{% endif %}
← Back to Jobs
{% endblock %}