@extends('admin.layout.master') @section('content')

Scheduled Tasks

@foreach (['danger', 'warning', 'success', 'info'] as $msg) @if (Session::has('alert-' . $msg))

{{ Session::get('alert-' . $msg) }} ×

@endif @endforeach @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@foreach ($scheduledtask as $u) @if($u->type == 1) @elseif($u->type == 2) @elseif($u->type == 3) @elseif($u->type == 4) @endif @endforeach
No. Task Name Query Category Query Name Type Cron Expression Next Run Time Created At Updated At Status Action
{{ $loop->index+1}} {{ $u->name }} {{ (!empty($u->categoryname) ? $u->categoryname : "") }} {{ $u->query_titles }}MinuteHourDayAdvanced{{ (!empty($u->cron_expression) ? $u->cron_expression : "") }} {{ date('n/d/Y g:i A',strtotime($u->next_run_time)) }} {{ date('n/d/Y g:i A',strtotime($u->created_at)) }} {{ date('n/d/Y g:i A',strtotime($u->updated_at)) }} @if($u->status == 0) Inactive @else Active @endif
@endsection