Show a message about setting up the cron and if there was an error running it (#425)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<h6><i class="fas fa-clock"></i>
|
||||
Reset Caches
|
||||
</h6>
|
||||
<div class="row">
|
||||
<div class="row" style="padding-top: 5px">
|
||||
<div class="col-sm-4 text-center">
|
||||
{{ Form::open(['route' => 'admin.maintenance.cache']) }}
|
||||
{{ Form::hidden('type', 'all') }}
|
||||
|
||||
24
resources/views/admin/maintenance/cron.blade.php
Normal file
24
resources/views/admin/maintenance/cron.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="form-container">
|
||||
<h6><i class="fas fa-clock"></i>
|
||||
Cron
|
||||
</h6>
|
||||
<div class="row" style="padding-top: 5px">
|
||||
<div class="col-sm-12">
|
||||
<p>A cron must be created that runs every minute calling artisan. Example:</p>
|
||||
<label style="width: 100%">
|
||||
<input type="text" value="{{ $cron_path }}" class="form-control" style="width: 100%"/>
|
||||
</label>
|
||||
|
||||
@if($cron_problem_exists)
|
||||
<div class="alert alert-danger" role="alert">
|
||||
There was a problem running the cron; make sure it's setup and check logs at
|
||||
<span class="text-monospace bg-gradient-dark">storage/logs/cron.log</span>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -4,6 +4,12 @@
|
||||
@section('content')
|
||||
@include('flash::message')
|
||||
|
||||
<div class="card border-blue-bottom">
|
||||
<div class="content">
|
||||
@include('admin.maintenance.cron')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card border-blue-bottom">
|
||||
<div class="content">
|
||||
@include('admin.maintenance.caches')
|
||||
|
||||
Reference in New Issue
Block a user