Commit aee51050 by Frédéric

Test cron

parent 748b3013
...@@ -74,8 +74,12 @@ class CronCommand extends Command ...@@ -74,8 +74,12 @@ class CronCommand extends Command
]); ]);
$item->setSynchronizedAt(new \DateTime()); $item->setSynchronizedAt(new \DateTime());
$output->writeln('before update');
$app['storage']->getRepository(Flux::class)->update($item); $app['storage']->getRepository(Flux::class)->update($item);
$output->writeln('after update');
$sync = new Synchronisation($this->config, $app, $item); $sync = new Synchronisation($this->config, $app, $item);
$output->writeln('sync done');
$sync->cron(); $sync->cron();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment