mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-21 23:58:24 +02:00
Update Haystack search index in cron
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
@ -4,6 +4,9 @@
|
||||
* * * * * cd /code && python manage.py retry_deferred -c 1
|
||||
0 0 * * * cd /code && python manage.py purge_mail_log 7 -c 1
|
||||
|
||||
# Update search index
|
||||
*/2 * * * * cd /code && python manage.py update_index &> /dev/null
|
||||
|
||||
# Recreate sympa lists
|
||||
*/2 * * * * cd /code && python manage.py fix_sympa_lists &> /dev/null
|
||||
|
||||
|
Reference in New Issue
Block a user