diff --git a/app/Console/Commands/CollectWoltGuardServices.php b/app/Console/Commands/CollectWoltGuardServices.php new file mode 100644 index 0000000..348c0c3 --- /dev/null +++ b/app/Console/Commands/CollectWoltGuardServices.php @@ -0,0 +1,20 @@ +info('WoltGuard services collected.'); + return self::SUCCESS; + } +} diff --git a/routes/console.php b/routes/console.php index 9ef772e..3591a06 100644 --- a/routes/console.php +++ b/routes/console.php @@ -9,7 +9,8 @@ Artisan::command('inspire', function () { $this->comment(Inspiring::quote()); })->purpose('Display an inspiring quote'); -Schedule::job(RunHealthChecks::class)->everytenSeconds()->withoutOverlapping(); +Schedule::job(RunHealthChecks::class)->everyMinute()->withoutOverlapping(); +Schedule::command('woltguard:collect-services')->everyMinute(); //Schedule::command('mailwolt:check-updates')->dailyAt('04:10'); Schedule::command('mailwolt:check-updates')->everytwoMinutes();