From 7feae6c7f94f23c5a1f6fd24f4198d6e8af2e7e6 Mon Sep 17 00:00:00 2001 From: Al Imran Ahmed Date: Tue, 1 Aug 2023 07:18:20 +0200 Subject: [PATCH] Fixed scheduled command issue --- app/Console/Kernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 0b86b43d..e078f077 100755 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -14,7 +14,7 @@ protected function schedule(Schedule $schedule): void { //$schedule->command('get-ip-location')->hourly(); - $schedule->command('php artisan backup:run --only-db')->monthly(); + $schedule->command('backup:run', ['--only-db'])->monthly(); $schedule->command('sitemap:generate')->weekly();