浏览代码

Update Console Kernel

Daniel Supernault 6 年之前
父节点
当前提交
9282900591
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/Console/Kernel.php

+ 2 - 0
app/Console/Kernel.php

@@ -27,6 +27,8 @@ class Kernel extends ConsoleKernel
     {
         $schedule->command('media:optimize')
                  ->hourly();
+        $schedule->command('media:gc')
+                 ->hourly();
         $schedule->command('horizon:snapshot')->everyFiveMinutes();
     }