OpenXE/cronjobs/supersearch_index_full.php

15 lines
404 B
PHP
Raw Normal View History

2021-05-21 08:49:41 +02:00
<?php
use Xentral\Modules\SuperSearch\Scheduler\SuperSearchFullIndexTask;
try {
/** @var SuperSearchFullIndexTask $supersearchFullIndexTask */
$supersearchFullIndexTask = $app->Container->get('SuperSearchFullIndexTask');
$supersearchFullIndexTask->execute();
$supersearchFullIndexTask->cleanup();
} catch (\Exception $exception) {
$supersearchFullIndexTask->cleanup();
throw $exception;
}