{% extends "pyfarm/user_interface/layout.html" %} {% block title %}Job {{job.title}} {% endblock %} {% block jobs_nb_class %}active{% endblock %} {% block additional_styles %} {% endblock %} {% block content %}

{{ job.title }}

Job

Jobtype {{ job.jobtype_version.jobtype.name }} Version {{job.jobtype_version.version}} {% if latest_jobtype_version > job.jobtype_version.version %}
{% endif %}
Submitted {{ job.time_submitted.isoformat() if job.time_submitted }}
Started {{ job.time_started.isoformat() if job.time_started }}
Finished {{ job.time_finished.isoformat() if job.time_finished}}
Output {% if job.output_link %} {{ job.output_link if job.output_link }} {% endif %}
User {% if job.user %} {{ job.user.username }} {% endif %}
Actions
{% if not job.paused() %}
{% else %}
{% endif %}

Notes

Tags

{% if job.parents %}

Parent jobs

{% for parent in job.parents %} {% endfor %}
Title Jobtype
{% if not parent.state %} {% endif %} {% if parent.state == "running" %} {% endif %} {% if parent.state == "done" %} {% endif %} {% if parent.state == "failed" %} {% endif %} {% if parent.state == "paused" %} {% endif %} {% if parent.to_be_deleted %} {% endif %} {{ parent.title }} {{ parent.jobtype_version.jobtype.name }}
{% endif %} {% if job.children %}

Child jobs

{% for child in job.children %} {% endfor %}
Title Jobtype
{% if not child.state %} {% endif %} {% if child.state == "running" %} {% endif %} {% if child.state == "done" %} {% endif %} {% if child.state == "failed" %} {% endif %} {% if child.state == "paused" %} {% endif %} {% if child.to_be_deleted %} {% endif %} {{ child.title }} {{ child.jobtype_version.jobtype.name }}
{% endif %}

State

State {{ job.state or "queued" }}
Active agents {{ job.num_assigned_agents() }}
Tasks queued {{ ((job.tasks_queued.count() / job.tasks.count()) * 100)|round(2) if job.tasks.count() != 0 else "n/a "}}% ({{ job.tasks_queued.count() }})
Tasks running {{ ((job.tasks_running.count() / job.tasks.count()) * 100)|round(2) if job.tasks.count() != 0 else "n/a "}}% ({{ job.tasks_running.count() }})
Tasks done {{ ((job.tasks_done.count() / job.tasks.count()) * 100)|round(2) if job.tasks.count() != 0 else "n/a "}}% ({{ job.tasks_done.count() }})
Tasks failed {{ ((job.tasks_failed.count() / job.tasks.count()) * 100)|round(2) if job.tasks.count() != 0 else "n/a "}}% ({{ job.tasks_failed.count() }})
To be deleted {{ "Yes" if job.to_be_deleted else "No" }}

Frame Selection

Start
End
By

Scheduling Parameters

Jobqueue
Priority
Weight
Minimum Agents
Maximum Agents
Batch Size
Max Requeues
Minimum RAM (KB)

Data

{{ job.data }}

Notified Users

{% for notified_user in job.notified_users %} {% endfor %}
{{ notified_user.user.username }} {{ notified_user.user.email }} {% if notified_user.on_success %} On Success
{% endif %} {% if notified_user.on_failure %} On Failure
{% endif %} {% if notified_user.on_deletion %} On Deletion {% endif %}

Auto Deletion

Autodelete After Seconds

Tasks

{% for task in tasks %} {% endfor %}
Frame Agent Progress Failures Runtime Last Error
{% if not task.state %} {% endif %} {% if task.state == "running" %} {% endif %} {% if task.state == "done" %} {% endif %} {% if task.state == "failed" %} {% endif %} {% if task.state == "paused" %} {% endif %} {{ task.frame }} {% if task.agent %} {{ task.agent.hostname }} {%endif%}
{{ (100 * task.progress)|round(1) }}%
{% if task.running() %}
{% elif task.failed() %}
{% endif %}
{{ task.failures }} {% if task.time_finished and task.time_started %} {{ task.time_finished - task.time_started }} {% elif task.time_started %} {{ now - task.time_started }} {% endif %} {{ task.last_error or "" }}
{% endblock %}