From b761670133652214a895575d4fac47ff112a511e Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Mon, 21 Dec 2020 17:42:37 +0100 Subject: [PATCH] Rebuild search index each hour Signed-off-by: Yohann D'ANELLO --- corres2math.cron | 3 +++ 1 file changed, 3 insertions(+) diff --git a/corres2math.cron b/corres2math.cron index 1e07e98..80117f0 100644 --- a/corres2math.cron +++ b/corres2math.cron @@ -3,3 +3,6 @@ * * * * * cd /code && python manage.py send_mail -c 1 * * * * * cd /code && python manage.py retry_deferred -c 1 0 0 * * * cd /code && python manage.py purge_mail_log 7 -c 1 + +# Rebuild search index +0 * * * * cd /code && python manage.py update_index -v 0