]> _ Git - fluidbook-toolbox.git/commitdiff
fix #3530 @0:10
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 31 Mar 2020 07:25:51 +0000 (09:25 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 31 Mar 2020 07:25:51 +0000 (09:25 +0200)
app/Console/Kernel.php

index a8c51585931fd6692a2aa6306daea3575c0fc411..f456a545ab78520d559ac56eddf6960059ed6c2f 100644 (file)
@@ -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');
     }