mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +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;
|
||
|
}
|