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
1 changed files with 3 additions and 0 deletions

View File

@ -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