1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-04-26 14:52:37 +00:00

Send mails using the runmailer_pg command

This commit is contained in:
Emmy D'Anello 2025-04-25 00:00:25 +02:00
parent ba36ad4071
commit 3750828883
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 1 additions and 5 deletions

View File

@ -4,6 +4,7 @@ crond -l 0
python manage.py migrate
python manage.py update_index
python manage.py runmailer_pg &
nginx

View File

@ -1,9 +1,4 @@
# min hour day month weekday command
# 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
# Update search index
*/2 * * * * cd /code && python manage.py update_index &> /dev/null