OpenXE/cronjobs/supersearch_index_diff.php

15 lines
404 B
PHP
Raw Normal View History

2021-05-21 08:49:41 +02:00
<?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;
}