From c42fb380a6710990ff2c7f2a9e638dfb3f2345bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Le=20Moigne?= Date: Thu, 6 Apr 2023 09:04:27 +0200 Subject: [PATCH 1/2] =?UTF-8?q?frequence=20des=20mails=20de=20n=C3=A9gatif?= =?UTF-8?q?=20aux=20trez=20:=201=20mois=20->=201=20semiane?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- note.cron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/note.cron b/note.cron index dd20c183..a54ad031 100644 --- a/note.cron +++ b/note.cron @@ -18,7 +18,7 @@ MAILTO=notekfet2020@lists.crans.org # Spammer les gens en négatif 00 5 * * 2 root cd /var/www/note_kfet && env/bin/python manage.py send_mail_to_negative_balances --spam --negative-amount 1 -v 0 # Envoyer le rapport mensuel aux trésoriers et respos info - 00 8 6 * * root cd /var/www/note_kfet && env/bin/python manage.py send_mail_to_negative_balances --report --add-years 1 -v 0 + 00 8 * * 5 root cd /var/www/note_kfet && env/bin/python manage.py send_mail_to_negative_balances --report --add-years 1 -v 0 # Envoyer les rapports aux gens 55 6 * * * root cd /var/www/note_kfet && env/bin/python manage.py send_reports -v 0 # Mettre à jour les boutons mis en avant From 63c1d74f1a5b5bed4170aeba077a16b9e54ab6d0 Mon Sep 17 00:00:00 2001 From: misterkrafts Date: Fri, 7 Apr 2023 15:47:06 +0200 Subject: [PATCH 2/2] Ignore notes containing '- BDE-' in the list of negative balances --- apps/scripts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/scripts b/apps/scripts index 86bc2d26..4471307b 160000 --- a/apps/scripts +++ b/apps/scripts @@ -1 +1 @@ -Subproject commit 86bc2d269853ad60391e242ff655f0dc83b5967d +Subproject commit 4471307b376a3bd19f146b2718960c5f17692d8c