Don't need to rebuild the ES index periodically, do it only once

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-01-13 19:31:15 +01:00
parent 5d13d9bc16
commit 4ff9f44eae
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 1 additions and 3 deletions

View File

@ -4,6 +4,7 @@ crond -l 0
python manage.py migrate
python manage.py loaddata initial
python manage.py update_index
nginx

View File

@ -4,9 +4,6 @@
* * * * * 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
# Recreate sympa lists
*/2 * * * * cd /code && python manage.py fix_sympa_lists &> /dev/null