@php use Carbon\Carbon; @endphp @extends('backend.background_tasks.layout') @section('title', __('Background Tasks')) @section('bt_content')
| @lang('Command') | @lang('Signature / Status') | @lang('Last Run') | @lang('Output') | @lang('Total Runs') | @can('background-task-run')@lang('Action') | @endcan
|---|---|---|---|---|---|
|
{{ $task['label'] }}
{{ $task['description'] }}
|
{{ $task['signature'] }}
@if(!$log)
@lang('Never run')
@elseif($log->isSuccess())
@lang('Success')
@elseif($log->isFailed())
@lang('Failed')
@else
@lang('Running')
@endif
|
@if(!$log)
@elseif($log->started_at)
{{ $log->started_at->format('d M, H:i') }}
@else
@endif
|
@if($log)
{{ $log->outputSummary(100) }}
@if($log->duration_ms !== null)
@endif
@else
@endif
|
{{ number_format($task['run_count']) }} | @can('background-task-run')
|
@endcan
| @lang('Job') | @lang('Queue') | @lang('Failed At') |
|---|---|---|
|
{{ class_basename($jobClass) }}
|
{{ $job->queue }} | {{ Carbon::parse($job->failed_at)->format('d M, H:i') }} |