diff --git a/app/Console/Commands/Init.php b/app/Console/Commands/Init.php index 2791a86f4..c88c52e8b 100644 --- a/app/Console/Commands/Init.php +++ b/app/Console/Commands/Init.php @@ -54,6 +54,7 @@ class Init extends Command $settings->update(['is_auto_update_enabled' => false]); } } + $this->call('cleanup:queue'); } private function restore_coolify_db_backup() { diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 16ad8c466..50db6d681 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -46,7 +46,6 @@ class Kernel extends ConsoleKernel $this->pull_helper_image($schedule); $this->check_scheduled_tasks($schedule); } - $schedule->command('cleanup:queue')->everyMinute()->onOneServer(); } private function pull_helper_image($schedule) {