command('horizon:snapshot')->everyMinute(); $schedule->job(new InstanceDockerCleanupJob)->everyMinute(); $schedule->job(new InstanceAutoUpdateJob(true))->everyMinute(); } else { $schedule->command('horizon:snapshot')->everyFiveMinutes(); $schedule->job(new InstanceDockerCleanupJob)->everyFiveMinutes(); $schedule->job(new InstanceAutoUpdateJob)->everyFifteenMinutes(); } } protected function commands(): void { $this->load(__DIR__ . '/Commands'); require base_path('routes/console.php'); } }