浏览代码

Update FailedJobGC command, change scheduled time to not conflict with daily backups

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

+ 1 - 1
app/Console/Kernel.php

@@ -31,7 +31,7 @@ class Kernel extends ConsoleKernel
                  ->hourly();
                  ->hourly();
         $schedule->command('horizon:snapshot')->everyFiveMinutes();
         $schedule->command('horizon:snapshot')->everyFiveMinutes();
         $schedule->command('story:gc')->everyFiveMinutes();
         $schedule->command('story:gc')->everyFiveMinutes();
-        $schedule->command('gc:failedjobs')->daily();
+        $schedule->command('gc:failedjobs')->dailyAt(3);
     }
     }
 
 
     /**
     /**