mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-22 19:18:26 +02:00
Use a cron to send mails
This commit is contained in:
5
tfjm.cron
Normal file
5
tfjm.cron
Normal file
@ -0,0 +1,5 @@
|
||||
# m h dom mon dow user command
|
||||
# Envoyer les mails en attente
|
||||
* * * * * root cd /code && python manage.py send_mail -c 1
|
||||
* * * * * root cd /code && python manage.py retry_deferred -c 1
|
||||
00 0 * * * root cd /code && python manage.py purge_mail_log 7 -c 1
|
Reference in New Issue
Block a user