From 8b8d021ad197f4d7d37ef6a7116c489992347489 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 7 May 2021 11:48:13 +1000 Subject: [PATCH] fixes for Artisan commands --- app/Jobs/Util/SchedulerCheck.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Jobs/Util/SchedulerCheck.php b/app/Jobs/Util/SchedulerCheck.php index 8a30e9b87b93..ae615394887d 100644 --- a/app/Jobs/Util/SchedulerCheck.php +++ b/app/Jobs/Util/SchedulerCheck.php @@ -49,6 +49,10 @@ class SchedulerCheck implements ShouldQueue try { + Artisan::call('clear-compiled'); + Artisan::call('cache:clear'); + Artisan::call('route:clear'); + Artisan::call('config:clear'); Artisan::call('optimize'); } catch (\Exception $e) { nlog($e->getMessage());