Merge branch 'master' into dist/envole/6/master
This commit is contained in:
commit
8211c08403
|
@ -90,11 +90,11 @@ class InitDataCommand extends ContainerAwareCommand
|
|||
$entity = $this->entityManager->getRepository('CadolesCronBundle:Cron')->find(105);
|
||||
if(!$entity&&$widonlyoffice_sync) {
|
||||
$entity = new Cron;
|
||||
$nextdate=$entity->getSubmitdate();
|
||||
$nextdate->setTime(3,0);
|
||||
$nextdate=$entity->getSubmitdate();
|
||||
$entity->setCommand("Core:Only");
|
||||
$entity->setDescription("Synchronisation des Only Office");
|
||||
$entity->setId(105);
|
||||
$entity->setStatut(2);
|
||||
$entity->setRepeatcall(0);
|
||||
$entity->setRepeatexec(0);
|
||||
$entity->setRepeatinterval(3600);
|
||||
|
|
Loading…
Reference in New Issue