From: jvoisin Date: Wed, 24 Apr 2024 10:41:46 +0000 (+0200) Subject: Ajout d'un peu de logs X-Git-Url: https://nos-oignons.net/gitweb/gestion-adh.git/commitdiff_plain/25a6402a90eedd41ae895d68e4a3a0823fbda33a Ajout d'un peu de logs --- diff --git a/lib/nos_oignons.rb b/lib/nos_oignons.rb index ee6fe7e..ba4c6a2 100644 --- a/lib/nos_oignons.rb +++ b/lib/nos_oignons.rb @@ -87,6 +87,7 @@ module NosOignons next if (anniversary - today).to_i > reminder.days next if member.reminded_on && (anniversary - member.reminded_on).to_i <= reminder.days + $stdout.puts "Envoi d'un rappel de cotisation a #{member.to_s}" member.remind(reminder) break end