Compare commits
2 Commits
8211c08403
...
81740cd4e5
Author | SHA1 | Date |
---|---|---|
Arnaud Fornerot | 81740cd4e5 | |
afornerot | 3a03dc8cf5 |
|
@ -94,7 +94,7 @@ class InitDataCommand extends ContainerAwareCommand
|
||||||
$entity->setCommand("Core:Only");
|
$entity->setCommand("Core:Only");
|
||||||
$entity->setDescription("Synchronisation des Only Office");
|
$entity->setDescription("Synchronisation des Only Office");
|
||||||
$entity->setId(105);
|
$entity->setId(105);
|
||||||
$entity->setStatut(2);
|
$entity->setStatut(4);
|
||||||
$entity->setRepeatcall(0);
|
$entity->setRepeatcall(0);
|
||||||
$entity->setRepeatexec(0);
|
$entity->setRepeatexec(0);
|
||||||
$entity->setRepeatinterval(3600);
|
$entity->setRepeatinterval(3600);
|
||||||
|
@ -121,6 +121,7 @@ class InitDataCommand extends ContainerAwareCommand
|
||||||
$entity->setNextexecdate($entity->getSubmitdate());
|
$entity->setNextexecdate($entity->getSubmitdate());
|
||||||
$this->entityManager->persist($entity);
|
$this->entityManager->persist($entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Job de purge des fichiers obsolète
|
// Job de purge des fichiers obsolète
|
||||||
// Toute les 24h à 3h00
|
// Toute les 24h à 3h00
|
||||||
$entity = $this->entityManager->getRepository('CadolesCronBundle:Cron')->find(200);
|
$entity = $this->entityManager->getRepository('CadolesCronBundle:Cron')->find(200);
|
||||||
|
|
Loading…
Reference in New Issue