From: Vincent Vanwaelscappel Date: Tue, 31 Mar 2020 07:25:51 +0000 (+0200) Subject: fix #3530 @0:10 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=6bbf2bd8a738724918829256237576239ccf9070;p=fluidbook-toolbox.git fix #3530 @0:10 --- 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'); }