@extends('totem::layout')
@section('page-title')
@parent
- Task
@stop
@section('title')
Task Details
@stop
@section('main-panel-content')
-
Description
{{Str::limit($task->description, 80)}}
-
Command
{{$task->command}}
-
Parameters
{{$task->parameters ?? "N/A"}}
-
Cron Expression
{{$task->getCronExpression()}}
-
Timezone
{{$task->timezone}}
-
Created At
{{$task->created_at->toDateTimeString()}}
-
Updated At
{{$task->updated_at->toDateTimeString()}}
-
Email Notification
{{$task->notification_email_address ?? 'N/A'}}
-
SMS Notification
{{$task->notification_phone_number ?? 'N/A'}}
-
Slack Notification
{{$task->notification_slack_webhook ?? 'N/A'}}
-
Average Run Time
{{$task->results()->count() > 0 ? number_format( $task->results()->sum('duration') / (1000 * $task->results()->count()) , 2) : '0'}} seconds
-
Next Run Schedule
{{$task->upcoming }}
@if($task->dont_overlap)
-
Doesn't Overlap with another instance of this task
@endif
@if($task->run_in_maintenance)
-
Runs in maintenance mode
@endif
@if($task->run_on_one_server)
-
Runs on a single server
@endif
@if($task->run_in_background)
-
Runs in the background
@endif
@stop
@section('main-panel-footer')
@stop
@section('additional-panels')
Executed At |
Duration |
|
@forelse($results = $task->results()->orderByDesc('created_at')->paginate(10) as $result)
{{$result->ran_at->toDateTimeString()}} |
{{ number_format($result->duration / 1000 , 2)}} seconds |
|
@empty
Not executed yet.
|
@endforelse
@stop