From 0346df11c24b3af09eb23e4793791e3ef6b215e1 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Mon, 18 Jan 2021 22:33:43 +0100 Subject: [PATCH] Fix sympa lists and matrix channels in the cron --- tfjm.cron | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tfjm.cron b/tfjm.cron index 80117f0..9ff1c68 100644 --- a/tfjm.cron +++ b/tfjm.cron @@ -1,8 +1,14 @@ # 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 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 +*/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