{% extends "base.html" %} {% block title %}Queue - whirr{% endblock %} {% block queue_badge %} {% set queued_count = jobs|selectattr('status', 'equalto', 'queued')|list|length %} {% if queued_count > 0 %} {{ queued_count }} {% endif %} {% endblock %} {% block content %}
| ID | Name | Status | Command | Worker | Created | |
|---|---|---|---|---|---|---|
| #{{ job.id }} |
{{ job.name or '-' }}
{% if job.tags %}
{% for tag in job.tags|deserialize_json %}
{{ tag }}
{% endfor %}
{% endif %}
|
{% if job.status == 'running' %} running {% elif job.status == 'queued' %} queued {% endif %} |
{{ job.command_argv|deserialize_json|join(' ') if job.command_argv else '-' }}
|
{{ job.worker_id or '-' }} | {{ job.created_at|format_time_ago }} | {% if job.status == 'queued' %} {% elif job.status == 'running' %} {% endif %} |
whirr submit -- python train.py