Integrations backend changes

- facade for healthchecks
- integrations config
This commit is contained in:
Henry Whitaker
2020-08-15 14:52:00 +01:00
parent a73e058ab1
commit 92544142a9
6 changed files with 146 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule)
{
$schedule->job(new SpeedtestJob)->cron(SettingsHelper::get('schedule')['value']);
$schedule->job(new SpeedtestJob(true, config('integrations')))->cron(SettingsHelper::get('schedule')['value']);
$schedule->command('speedtest:overview')->cron('0 ' . SettingsHelper::get('speedtest_overview_time')->value . ' * * *');
}