@extends('admin.layouts.app') @section('panel')
@forelse ($crons as $cron) @php $dateTime = now()->parse($cron->next_run); $formattedDateTime = showDateTime($dateTime,'Y-m-d\TH:i'); @endphp @empty @endforelse
@lang('Name') @lang('Schedule') @lang('Next Run') @lang('Last Run') @lang('Is Running') @lang('Type') @lang('Actions')
{{ __($cron->name) }} @if($cron->logs->where('error','!=',null)->count()) @endif
{{ __($cron->alias) }}
{{ __($cron->schedule->name) }} @if($cron->next_run) {{ __($cron->next_run) }} @if($cron->next_run > now())
{{ diffForHumans($cron->next_run) }} @endif @else -- @endif
@if($cron->last_run) {{ __($cron->last_run) }}
{{ diffForHumans($cron->last_run) }} @else -- @endif
@if($cron->is_running) @lang('Running') @else @lang('Pause') @endif @if($cron->is_default) @lang('Default') @else @lang('Customizable') @endif
{{ __($emptyMessage) }}
@endsection @push('breadcrumb-plugins') @lang('Cron Schedule') @endpush @push('script') @endpush