From a6f62045c404a2dcb355b0001f755edd8e4d12e9 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Sat, 13 Feb 2021 15:17:16 -0500 Subject: [PATCH] Extend cron check for 12 hours --- app/Services/CronService.php | 2 +- resources/views/admin/dashboard/index.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/CronService.php b/app/Services/CronService.php index adb8b227..9ec5be96 100644 --- a/app/Services/CronService.php +++ b/app/Services/CronService.php @@ -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 } } diff --git a/resources/views/admin/dashboard/index.blade.php b/resources/views/admin/dashboard/index.blade.php index ee6afc4f..e806d784 100644 --- a/resources/views/admin/dashboard/index.blade.php +++ b/resources/views/admin/dashboard/index.blade.php @@ -4,7 +4,7 @@
@if($cron_problem_exists)