@extends('layouts.app') @section('title', $task->name . ' - Otomatik Görev Detayı') @section('page-title', $task->name) @section('content')
Görevlere Dön

{{ $task->name }}

{{ $task->description }}

{{ $task->status_label }}
@csrf
Görev Tipi
{{ $task->type === 'command' ? 'Komut' : 'Job' }}
Komut/Job
{{ $task->command }}
@if($task->parameters)
Parametreler
@foreach($task->parameters as $key => $value)
{{ $key }}: {{ $value }}
@endforeach
@endif
Zamanlama İfadesi
{{ $task->schedule_expression }}
Zamanlama Açıklaması
{{ $task->schedule_description ?? '-' }}
Aktif Durumu
@csrf
Son Çalışma
@if($task->last_run_at) {{ $task->last_run_at->format('d.m.Y H:i:s') }} ({{ $task->last_run_at->diffForHumans() }}) @else Henüz çalışmadı @endif
Sonraki Çalışma
@if($task->next_run_at)
{{ $task->next_run_at->format('d.m.Y H:i:s') }} ({{ $task->next_run_at->diffForHumans() }}) @if($task->next_run_at->isPast()) Gecikmiş @endif
@else Planlanmamış @endif

İstatistikler

Toplam Çalışma
{{ $task->run_count ?? 0 }}
Hata Sayısı
{{ $task->failure_count ?? 0 }}
Başarı Oranı
@if($task->run_count > 0) {{ number_format((($task->run_count - ($task->failure_count ?? 0)) / $task->run_count) * 100, 1) }}% @else - @endif
@if($task->last_error)

Son Hata

{{ $task->last_error }}

@endif
@endsection