public function updateCron(EdgarEzCron $cron): bool
    {
        try {
            $this->getEntityManager()->persist($cron);
            $this->getEntityManager()->flush();
        } catch (ORMException $e) {
            return false;
        }

        return true;
    }