@php use App\Models\Setup; @endphp
@if($job->attempts)Last Attempt @else Scheduled @endif: | {{ $job->created_at }} |
Attempts : | {{ $job->attempts ?: 0 }} |
Next Attempt : | {{ $job->available_at->diffForHumans(now(),$job->available_at->isFuture() ? \Carbon\CarbonInterface::DIFF_ABSOLUTE : \Carbon\CarbonInterface::DIFF_RELATIVE_TO_NOW) }} |
Last Poll : | {{ ($x=$o->logs->where('originate',TRUE)->last())?->created_at ?: 'Never' }} |
Method : | {{ $x?->sessiontype ?: '-' }} |
Status : | @if ($job) Queued @elseif ($o->autohold)Auto Hold @else @switch($o->pollmode) @case(TRUE) Crash @break; @case(FALSE) Normal @break; @default Hold @endswitch @endif |