Compare commits

...

2 Commits

Author SHA1 Message Date
Arnaud Fornerot 81740cd4e5 Merge branch 'master' into dist/envole/6/master 2019-12-16 17:21:35 +01:00
afornerot 3a03dc8cf5 correction cron only 2019-12-16 17:21:29 +01:00
1 changed files with 2 additions and 1 deletions

View File

@ -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);