mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 18:15:24 +00:00
refactor: Remove CleanupSshKeysJob from schedule in Kernel.php
This commit is contained in:
1 parent
d47bd047bf
commit
9518040d23
4 files changed
+43
-34
No files matched your search
@@ -4,7 +4,6 @@ namespace App\Console;
|
||||
|
||||
use App\Jobs\CheckForUpdatesJob;
|
||||
use App\Jobs\CleanupInstanceStuffsJob;
|
||||
use App\Jobs\CleanupSshKeysJob;
|
||||
use App\Jobs\CleanupStaleMultiplexedConnections;
|
||||
use App\Jobs\DatabaseBackupJob;
|
||||
use App\Jobs\DockerCleanupJob;
|
||||
@@ -45,7 +44,6 @@ class Kernel extends ConsoleKernel
|
||||
|
||||
$schedule->command('telescope:prune')->daily();
|
||||
|
||||
$schedule->job(new CleanupSshKeysJob)->weekly()->onOneServer();
|
||||
$schedule->job(new PullHelperImageJob)->everyFiveMinutes()->onOneServer();
|
||||
} else {
|
||||
// Instance Jobs
|
||||
@@ -63,8 +61,6 @@ class Kernel extends ConsoleKernel
|
||||
|
||||
$schedule->command('cleanup:database --yes')->daily();
|
||||
$schedule->command('uploads:clear')->everyTwoMinutes();
|
||||
|
||||
$schedule->job(new CleanupSshKeysJob)->weekly()->onOneServer();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user