From: Vincent Vanwaelscappel Date: Thu, 16 Oct 2025 12:53:23 +0000 (+0200) Subject: wait #7804 @1.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=bcf7ed64fa9a6e11cee4c6c0a048c4e093a665e9;p=pmi.git wait #7804 @1.5 --- diff --git a/.docker/production/images/elasticsearch/Dockerfile b/.docker/production/images/elasticsearch/Dockerfile index 3d66109..cee7b3a 100644 --- a/.docker/production/images/elasticsearch/Dockerfile +++ b/.docker/production/images/elasticsearch/Dockerfile @@ -1,2 +1,2 @@ -FROM docker.elastic.co/elasticsearch/elasticsearch:8.10.2 +FROM docker.elastic.co/elasticsearch/elasticsearch:9.1.5 RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu diff --git a/.docker/production/update b/.docker/production/update index 6b84732..ed5728e 100644 --- a/.docker/production/update +++ b/.docker/production/update @@ -14,4 +14,6 @@ COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose pull COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose build docker compose down docker compose up -d +ufw-docker allow pmi + docker stop pmi-mariadb;rm database/data/tc.log;docker start pmi-mariadb diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 825c4f2..2dfda24 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -30,8 +30,11 @@ class Kernel extends ConsoleKernel } // $schedule->command('backup:clean')->daily()->at('04:00'); // $schedule->command('backup:run')->daily()->at('05:00'); - $schedule->command('cubist:search:index PMI all')->cron('35 */6 * * *'); - $schedule->command('cubist:search:index MICHSCI all')->cron('5 */6 * * *'); + $schedule->command('cubist:search:index PMI fr')->cron('5 */6 * * *'); + $schedule->command('cubist:search:index PMI en')->cron('20 */6 * * *'); + $schedule->command('cubist:search:index MICHSCI fr')->cron('35 */6 * * *'); + $schedule->command('cubist:search:index MICHSCI en')->cron('45 */6 * * *'); + $schedule->command('cubist:search:index MICHSCI de')->cron('55 */6 * * *'); } /**