{% set job = createModel('Jobs').findById(uuid) %} {% set config = createProperties(job.config) %}
| {{ labels.id }} | {{ job.uuid }} |
| {{ labels.name }} | {{ job.name }} |
| {{ labels.status }} | {{ component('queue::admin.jobs.status.label',{ status: job.status, class: 'mini basic right floated' }) }} |
| {{ labels.type }} |
{% if job.isRecurring() == true %}
{{ labels.recurring }}
{{ component('queue::admin.interval.label',{ interval: job.recuring_interval }) }}
{% elseif job.isScheduled() == true %}
{{ labels.scheduled }}
{{ job.schedule_time|dateTimeFormat }}
{% else %}
{{ labels.single }}
{% endif %}
{% if job.due_date is not empty %}
{{ labels.nextrun }}
{{ job.due_date|dateTimeFormat }}
{{ labels.current }}
{% endif %}
{{ today()|dateTimeFormat }}
|
| {{ labels.priority }} | {{ job.priority }} |
| {{ labels.date }} | {{ job.date_created|dateTimeFormat }} |
| {{ labels.executed }} |
{% if job.executed > 0 %}
{{ job.executed }}
{% endif %}
{{ job.date_executed|dateTimeFormat }}
|
| {{ labels.handler }} | {{ job.handler_class }} |
| {{ labels.extension }} | {{ job.extension_name}} |
| {{ labels.worker }} | {{ (job.queue is null) ? labels.all : job.queue }} |