parent
047db97928
commit
5c86b54c51
@ -48,6 +48,7 @@ class HiltesImportCommand extends Command
|
|||||||
|
|
||||||
protected function execute(InputInterface $input, OutputInterface $output): int
|
protected function execute(InputInterface $input, OutputInterface $output): int
|
||||||
{
|
{
|
||||||
|
$time_start = microtime(true);
|
||||||
$io = new SymfonyStyle($input, $output);
|
$io = new SymfonyStyle($input, $output);
|
||||||
|
|
||||||
$io->success('Start Hiltes Import');
|
$io->success('Start Hiltes Import');
|
||||||
@ -77,7 +78,11 @@ class HiltesImportCommand extends Command
|
|||||||
//Export für WMS Lager
|
//Export für WMS Lager
|
||||||
$jtl->createExportFile($jtl->getProducts($prodIds, ['8']), 'wms' . ($delta ? '_delta' : ''));
|
$jtl->createExportFile($jtl->getProducts($prodIds, ['8']), 'wms' . ($delta ? '_delta' : ''));
|
||||||
|
|
||||||
$io->success('Done.');
|
$time_end = microtime(true);
|
||||||
|
|
||||||
|
$execution_time = ($time_end - $time_start) / 60;
|
||||||
|
|
||||||
|
$io->success('Done.' . PHP_EOL . 'Execution time: ' . $execution_time . ' minutes');
|
||||||
return Command::SUCCESS;
|
return Command::SUCCESS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user