mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-10-31 22:24:30 +01:00 
			
		
		
		
	Send mails using the runmailer_pg command
This commit is contained in:
		| @@ -4,6 +4,7 @@ crond -l 0 | |||||||
|  |  | ||||||
| python manage.py migrate | python manage.py migrate | ||||||
| python manage.py update_index | python manage.py update_index | ||||||
|  | python manage.py runmailer_pg & | ||||||
|  |  | ||||||
| nginx | nginx | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,9 +1,4 @@ | |||||||
| # min   hour    day     month   weekday command | # 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 | # Update search index | ||||||
| */2     *       *       *       *       cd /code && python manage.py update_index &> /dev/null | */2     *       *       *       *       cd /code && python manage.py update_index &> /dev/null | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user