OpenXE/cronjobs/supersearch_index_diff.php
2021-05-21 08:49:41 +02:00

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;
}