Ver código fonte

Kernel: add horizon snapshot schedule

Beta Soft 3 anos atrás
pai
commit
b6195494d3
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      app/Console/Kernel.php

+ 2 - 0
app/Console/Kernel.php

@@ -34,6 +34,8 @@ class Kernel extends ConsoleKernel
         $schedule->command('reset:serverLog')->quarterly();
         $schedule->command('reset:serverLog')->quarterly();
         // send
         // send
         $schedule->command('send:remindMail')->dailyAt('11:30');
         $schedule->command('send:remindMail')->dailyAt('11:30');
+        // horizon metrics
+        $schedule->command('horizon:snapshot')->everyFiveMinutes();
     }
     }
 
 
     /**
     /**