@props(['tasks', 'dateFormat', 'usingOhDear'])
Monitored Tasks
@forelse ($tasks as $task)
⇁ Started at:
{{ optional($task->lastRunStartedAt())->format($dateFormat) ?? '--' }}
⇁ Finished at:
{{ optional($task->lastRunFinishedAt())->format($dateFormat) ?? '--' }}
⇁ Failed at:
{{ optional($task->lastRunFailedAt())->format($dateFormat) ?? '--' }}
⇁ Next run:
{{ $task->nextRunAt()->format($dateFormat) }}
⇁ Grace time:
{{ $task->graceTimeInMinutes() }} minutes
@if ($usingOhDear)
⇁ Registered at Oh Dear:
@if ($task->isBeingMonitoredAtOhDear())
Yes
@else
No
@endif
@endif
@empty
There currently are no tasks being monitored!
@endforelse
@if ($usingOhDear)
Some tasks are not registered on oh dear. You will not be notified when they do not run on time.
Run php artisan schedule-monitor:sync to register them and receive notifications.
@endif