Fix unreachable server cleanup and enable daily schedule

This commit is contained in:
Andras Bacsai
2024-01-30 10:52:57 +01:00
parent bb05058dda
commit 6555f0b50c
2 changed files with 6 additions and 5 deletions

View File

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