framework = $framework; parent::__construct(); } protected function configure(): void { $this ->setName('weinanlieferung:sendBookingNotifications') ->setDescription('Sends notifications about newly added or modified bookings.') ; } protected function execute(InputInterface $input, OutputInterface $output): int { $this->framework->initialize(); $wa_service = System::getContainer()->get("vonrotenberg.cron.wa_booking_notifications"); $wa_service('cli'); return 0; } }