setDescription('Cleanup Events'); $this->setHelp('Events are cleaned up'); } protected function execute(InputInterface $input, OutputInterface $output) { Bootstrap::initializeBackendAuthentication(); return GeneralUtility::makeInstance(ObjectManager::class) ->get(CleanupService::class) ->doClean(); } }