From 37508288837bec195bd9da9781bb86cb89102d4d Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Fri, 25 Apr 2025 00:00:25 +0200 Subject: [PATCH] Send mails using the runmailer_pg command --- entrypoint.sh | 1 + tfjm.cron | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 907994a..915b125 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,6 +4,7 @@ crond -l 0 python manage.py migrate python manage.py update_index +python manage.py runmailer_pg & nginx diff --git a/tfjm.cron b/tfjm.cron index 148d539..7a5b13c 100644 --- a/tfjm.cron +++ b/tfjm.cron @@ -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