diff --git a/entrypoint.sh b/entrypoint.sh index dea42a9..255e6bc 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,6 +4,7 @@ crond -l 0 python manage.py migrate python manage.py loaddata initial +python manage.py update_index nginx diff --git a/tfjm.cron b/tfjm.cron index bceb9ee..4d01caa 100644 --- a/tfjm.cron +++ b/tfjm.cron @@ -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