feat: cleanup unreachable servers

This commit is contained in:
Andras Bacsai
2024-01-30 10:50:54 +01:00
parent 9667cd4a7a
commit bb05058dda
2 changed files with 27 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ class Kernel extends ConsoleKernel
} else {
// Instance Jobs
$schedule->command('horizon:snapshot')->everyFiveMinutes();
// $schedule->command('cleanup:unreachable-servers')->daily();
$schedule->job(new CleanupInstanceStuffsJob)->everyTwoMinutes()->onOneServer();
// $schedule->job(new CheckResaleLicenseJob)->hourly()->onOneServer();