1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2024-12-05 02:06:52 +00:00

Rebuild search index each hour

Signed-off-by: Yohann D'ANELLO <yohann.danello@animath.fr>
This commit is contained in:
Yohann D'ANELLO 2020-12-21 17:42:37 +01:00
parent f2ca4b7446
commit b761670133
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -3,3 +3,6 @@
* * * * * cd /code && python manage.py send_mail -c 1 * * * * * cd /code && python manage.py send_mail -c 1
* * * * * cd /code && python manage.py retry_deferred -c 1 * * * * * cd /code && python manage.py retry_deferred -c 1
0 0 * * * cd /code && python manage.py purge_mail_log 7 -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