1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-26 07:02:24 +00:00

Fix sympa lists and matrix channels in the cron

This commit is contained in:
Yohann D'ANELLO 2021-01-18 22:33:43 +01:00
parent d02db9b858
commit 0346df11c2
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -1,8 +1,14 @@
# min hour day month weekday command # min hour day month weekday command
# Envoyer les mails en attente # Send pending mails
* * * * * 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 # Rebuild search index
0 * * * * cd /code && python manage.py update_index -v 0 0 * * * * cd /code && python manage.py update_index -v 0
# Recreate sympa lists
*/6 * * * * cd /code && python manage.py fix_sympa_lists &> /dev/null
# Update matrix channels
*/6 * * * * cd /code && python manage.py fix_matrix_channels &> /dev/null