mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-27 07:00:29 +01:00
15 lines
404 B
PHP
15 lines
404 B
PHP
|
<?php
|
||
|
|
||
|
use Xentral\Modules\SuperSearch\Scheduler\SuperSearchDiffIndexTask;
|
||
|
|
||
|
try {
|
||
|
/** @var SuperSearchDiffIndexTask $supersearchDiffIndexTask */
|
||
|
$supersearchDiffIndexTask = $app->Container->get('SuperSearchDiffIndexTask');
|
||
|
$supersearchDiffIndexTask->execute();
|
||
|
$supersearchDiffIndexTask->cleanup();
|
||
|
|
||
|
} catch (\Exception $exception) {
|
||
|
$supersearchDiffIndexTask->cleanup();
|
||
|
throw $exception;
|
||
|
}
|