From 1bcbe3dcab7437bc83c9c48cb31d281e66f8c6ac Mon Sep 17 00:00:00 2001
From: Yohann D'ANELLO <ynerant@crans.org>
Date: Thu, 22 Apr 2021 23:17:58 +0200
Subject: [PATCH] Spam negative users if they have less than 0 euro

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
---
 note.cron | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/note.cron b/note.cron
index 44db347a..1bdc59ed 100644
--- a/note.cron
+++ b/note.cron
@@ -13,7 +13,7 @@
 # Mettre à jour le wiki (modification sans (dé)validation, activités passées)
  30  5     *   *   *     root   cd /var/www/note_kfet && env/bin/python manage.py refresh_activities --raw --human --comment refresh --wiki
 # 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
+ 00  5     *   *   2     root   cd /var/www/note_kfet && env/bin/python manage.py send_mail_to_negative_balances --spam --negative-amount 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
 # Envoyer les rapports aux gens
-- 
GitLab