fix:dockerCleanupjob
This commit is contained in:
parent
75fea4f7c0
commit
ab1207e461
@ -33,7 +33,7 @@ protected function schedule(Schedule $schedule): void
|
||||
$schedule->job(new ResourceStatusJob)->everyMinute();
|
||||
$schedule->job(new CheckResaleLicenseJob)->hourly();
|
||||
$schedule->job(new ProxyCheckJob)->everyFiveMinutes();
|
||||
// $schedule->job(new DockerCleanupJob)->everyTenMinutes();
|
||||
$schedule->job(new DockerCleanupJob)->everyTenMinutes();
|
||||
$schedule->job(new InstanceAutoUpdateJob)->everyTenMinutes();
|
||||
}
|
||||
$this->check_scheduled_backups($schedule);
|
||||
|
@ -32,6 +32,11 @@ public function handle(): void
|
||||
try {
|
||||
$servers = Server::all();
|
||||
foreach ($servers as $server) {
|
||||
if (
|
||||
!$server->settings->is_reachable && !$server->settings->is_usable
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
if (isDev()) {
|
||||
$docker_root_filesystem = "/";
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user