Просмотр исходного кода

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

Daniel Supernault 5 лет назад
Родитель
Сommit
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();
         $schedule->command('horizon:snapshot')->everyFiveMinutes();
         $schedule->command('story:gc')->everyFiveMinutes();
-        $schedule->command('gc:failedjobs')->daily();
+        $schedule->command('gc:failedjobs')->dailyAt(3);
     }
 
     /**