{% extends "JMSJobQueueBundle::base.html.twig" %} {% import "JMSJobQueueBundle:Job:macros.html.twig" as macros %} {% block title %}Job "{{ job.command }}" (ID: {{ job.id }})" - {{ parent() }}{% endblock %} {% block content %} {% if job.closedAt %} {% endif %} {% if job.isRetryJob() %} {% endif %} {% if relatedEntities|length > 0 %} {% endif %} {% if job.dependencies|length > 0 %} {% endif %} {% if incomingDependencies|length > 0 %} {% endif %}
Command {{ macros.command(job) }}
State {{ macros.state(job) }}
Created {{ macros.ago(job.createdAt) }}
Runtime {{ macros.runtime(job) }}
Closed {{ macros.ago(job.closedAt) }}
Original Job #{{ job.originalJob.id }} {{ macros.state(job.originalJob) }}
Related Entities {%- for entity in relatedEntities %} {%- if entity.raw is jms_job_queue_linkable -%} {{ entity.raw|jms_job_queue_linkname }} {%- else -%} {{ entity.class }} ({{ entity.id }}) {%- endif -%} {% if not loop.last %}, {% endif -%} {% endfor -%}
Dependencies {%- for dep in job.dependencies -%} {{ dep.command }} {{ macros.state(dep) }} {%- if not loop.last %}, {% endif -%} {%- endfor -%}
Incoming Dependencies {%- for dep in incomingDependencies -%} {{ dep.command }} {{ macros.state(dep) }} {%- endfor -%}
{% if job.retryJobs|length > 0 %}

Retry Jobs

{% for retryJob in job.retryJobs %} {% endfor %}
ID Created State
{{ retryJob.id }} {{ macros.ago(retryJob.createdAt) }} {{ macros.state(retryJob) }}
{% endif %} {% if job.stackTrace is not empty %}

Stack Trace

{% for position, ex in job.stackTrace.toarray %}

{{ ex.class|abbr_class }}: {{ ex.message|nl2br|format_file_from_text }}  {% spaceless %} + {% endspaceless %}

{% endfor %} {% endif %} {% if job.output is not empty %}

Output

{{ job.output }}
{% endif %} {% if job.errorOutput is not empty %}

Error Output

{{ job.errorOutput }}
{% endif %} {% if job.state == 'failed' or job.errorOutput is not empty %}
Retry Job

Click on the next button to create a new job to retry this failed one.

{% endif %} {% if statisticData is not empty %}

Statistics

{% endif %} {% endblock %} {% block javascripts %} {{ parent() }} {% if statisticData is not empty %} {% endif %} {% endblock %}