From 6bbf2bd8a738724918829256237576239ccf9070 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 31 Mar 2020 09:25:51 +0200 Subject: [PATCH] fix #3530 @0:10 --- app/Console/Kernel.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index a8c515859..f456a545a 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -19,13 +19,13 @@ class Kernel extends ConsoleKernel /** * Define the application's command schedule. * - * @param \Illuminate\Console\Scheduling\Schedule $schedule + * @param \Illuminate\Console\Scheduling\Schedule $schedule * @return void */ protected function schedule(Schedule $schedule) { - // $schedule->command('inspire') - // ->hourly(); + $schedule->command('backup:run') + ->dailyAt('04:00'); } /** @@ -35,7 +35,7 @@ class Kernel extends ConsoleKernel */ protected function commands() { - $this->load(__DIR__.'/Commands'); + $this->load(__DIR__ . '/Commands'); require base_path('routes/console.php'); } -- 2.39.5