Kernel: add horizon snapshot schedule

This commit is contained in:
Beta Soft 2021-09-05 10:32:33 +08:00
parent ccf3497241
commit b6195494d3
No known key found for this signature in database
GPG Key ID: 180A31AB98D5C156

2
app/Console/Kernel.php Executable file → Normal file
View File

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