Compare commits
2 Commits
1acce9d3fd
...
8211c08403
Author | SHA1 | Date |
---|---|---|
Arnaud Fornerot | 8211c08403 | |
afornerot | 9a0c9086d2 |
|
@ -91,10 +91,10 @@ class InitDataCommand extends ContainerAwareCommand
|
||||||
if(!$entity&&$widonlyoffice_sync) {
|
if(!$entity&&$widonlyoffice_sync) {
|
||||||
$entity = new Cron;
|
$entity = new Cron;
|
||||||
$nextdate=$entity->getSubmitdate();
|
$nextdate=$entity->getSubmitdate();
|
||||||
$nextdate->setTime(3,0);
|
|
||||||
$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->setRepeatcall(0);
|
$entity->setRepeatcall(0);
|
||||||
$entity->setRepeatexec(0);
|
$entity->setRepeatexec(0);
|
||||||
$entity->setRepeatinterval(3600);
|
$entity->setRepeatinterval(3600);
|
||||||
|
|
Loading…
Reference in New Issue