@extends('layouts.app') @section('title', 'System status') @section('content')

Cron

{{ $cronActive ? '● Active' : '● Not running' }}

Heartbeat: {{ $heartbeatAt?->diffForHumans() ?? 'never' }}

Environment

Email provider
{{ $providerName }} {{ $providerConfigured ? '✓ configured' : '— not configured' }}
PHP version
{{ $phpVersion }}
Laravel version
{{ $laravelVersion }}
Last campaign run
{{ $lastCampaignRun?->started_at?->diffForHumans() ?? 'never' }}
Last import run
{{ $lastImportRun?->started_at?->diffForHumans() ?? 'never' }}
Last successful run
{{ $lastSuccess?->finished_at?->diffForHumans() ?? 'never' }}
@if ($lastError)

Last processing error ({{ $lastError->started_at->diffForHumans() }} · {{ $lastError->command }}):

{{ Str::limit($lastError->error, 800) }}
@endif

Recent processor runs

@forelse ($recentRuns as $run) @empty @endforelse
CommandStatusProcessedRuntimeStarted
{{ $run->command }} {{ $run->processed }} {{ $run->runtime_ms ? number_format($run->runtime_ms / 1000, 1).'s' : '—' }} {{ $run->started_at->format('d M H:i:s') }}
No runs recorded — the cPanel cron job has not fired yet.
@endsection