Extend cron check for 12 hours
This commit is contained in:
parent
3f3b63da6f
commit
a6f62045c4
@ -92,6 +92,6 @@ class CronService extends Service
|
||||
|
||||
// More than 5 minutes... there's a problem
|
||||
$diff = $dt_now->diff($dt);
|
||||
return $diff->i > 5;
|
||||
return $diff->i > 60 * 12; // Hasn't run for 12 hours
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
<div class="content">
|
||||
@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
|
||||
The cron has not run in more than 12 hours; make sure it's setup and check logs at
|
||||
<span class="text-monospace bg-gradient-dark">storage/logs/cron.log</span>.
|
||||
<a href="{{ docs_link('cron') }}" target="_blank">See the docs</a>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user