An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: cleanup old scheduled_task_executions
Andras Bacsaibfe420001209
diff --git a/app/Console/Commands/CleanupDatabase.php b/app/Console/Commands/CleanupDatabase.phpindex a0adc8b36b..2ccb76529d 100644--- a/app/Console/Commands/CleanupDatabase.php+++ b/app/Console/Commands/CleanupDatabase.php@@ -57,6 +57,14 @@ class CleanupDatabase extends Command$application_deployment_queues->delete();}+ // Cleanup scheduled_task_executions table+ $scheduled_task_executions = DB::table('scheduled_task_executions')->where('created_at', '<', now()->subDays($keep_days))->orderBy('created_at', 'desc');+ $count = $scheduled_task_executions->count();+ echo "Delete $count entries from scheduled_task_executions.\n";+ if ($this->option('yes')) {+ $scheduled_task_executions->delete();+ }+// Cleanup webhooks table$webhooks = DB::table('webhooks')->where('created_at', '<', now()->subDays($keep_days));$count = $webhooks->count();