]> _ Git - cubist_cms-back.git/commitdiff
wip #4662
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 6 Oct 2021 12:59:50 +0000 (14:59 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 6 Oct 2021 12:59:50 +0000 (14:59 +0200)
src/app/Console/Kernel.php

index 797885be1f76556010c4986625933eac98c9e91f..1f40496a9c5d1da42aed43c39827fd041ce23c6e 100644 (file)
@@ -10,7 +10,7 @@ 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)
@@ -18,6 +18,6 @@ class Kernel extends ConsoleKernel
         $schedule->command('backup:clean')->daily()->at('04:00');
         $schedule->command('backup:run')->daily()->at('05:00');
 
-
+        $schedule->command('media-library:regenerate --only-missing')->hourly();
     }
 }