Compare commits

..

No commits in common. "8211c0840391b4c09aad7269b12e89a8bd187e8c" and "1acce9d3fd03effb44ebb7e6e4d5b9538d7cb280" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -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=$entity->getSubmitdate();
$nextdate->setTime(3,0);
$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);