mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
Kernel: add horizon snapshot schedule
This commit is contained in:
parent
ccf3497241
commit
b6195494d3
2
app/Console/Kernel.php
Executable file → Normal file
2
app/Console/Kernel.php
Executable file → Normal file
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user