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:
parent
ba36ad4071
commit
3750828883
@ -4,6 +4,7 @@ crond -l 0
|
||||
|
||||
python manage.py migrate
|
||||
python manage.py update_index
|
||||
python manage.py runmailer_pg &
|
||||
|
||||
nginx
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user