diff --git a/src/ninegate-1.0/src/Cadoles/CronBundle/Command/InitDataCommand.php b/src/ninegate-1.0/src/Cadoles/CronBundle/Command/InitDataCommand.php index aae59ba2..25b6da84 100644 --- a/src/ninegate-1.0/src/Cadoles/CronBundle/Command/InitDataCommand.php +++ b/src/ninegate-1.0/src/Cadoles/CronBundle/Command/InitDataCommand.php @@ -94,7 +94,7 @@ class InitDataCommand extends ContainerAwareCommand $entity->setCommand("Core:Only"); $entity->setDescription("Synchronisation des Only Office"); $entity->setId(105); - $entity->setStatut(2); + $entity->setStatut(4); $entity->setRepeatcall(0); $entity->setRepeatexec(0); $entity->setRepeatinterval(3600); @@ -121,6 +121,7 @@ class InitDataCommand extends ContainerAwareCommand $entity->setNextexecdate($entity->getSubmitdate()); $this->entityManager->persist($entity); } + // Job de purge des fichiers obsolète // Toute les 24h à 3h00 $entity = $this->entityManager->getRepository('CadolesCronBundle:Cron')->find(200);