error('[RESTRICTED] This command is disabled.'); $this->info(''); $this->info('Session cleanup runs automatically via scheduled task:'); $this->info(' Session_Cleanup_Service::cleanup_sessions()'); $this->info(' Schedule: Daily at 3 AM'); $this->info(''); $this->info('Cleanup rules:'); $this->info(' - Logged-in sessions (login_user_id set): Delete if older than 365 days'); $this->info(' - Anonymous sessions (login_user_id null): Delete if older than 14 days'); $this->info(''); $this->info('To manually trigger cleanup:'); $this->info(' php artisan rsx:task:run Session_Cleanup_Service cleanup_sessions'); return 1; } }