diff --git a/src/Command/GetReportsFromMailboxCommand.php b/src/Command/GetReportsFromMailboxCommand.php index f2f7b22..7259836 100644 --- a/src/Command/GetReportsFromMailboxCommand.php +++ b/src/Command/GetReportsFromMailboxCommand.php @@ -81,9 +81,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int $io->error('GetReportsFromMailbox command is already running.'); return Command::FAILURE; } else { - //$lock->setValue('true'); - //$this->em->persist($lock); - //$this->em->flush(); + $lock->setValue('true'); + $this->em->persist($lock); + $this->em->flush(); $result = $this->open_mailbox($this->mailbox); if($this->mailbox_secondary->isEnabled()) {