From 25a6402a90eedd41ae895d68e4a3a0823fbda33a Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 24 Apr 2024 12:41:46 +0200 Subject: [PATCH] Ajout d'un peu de logs --- lib/nos_oignons.rb | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5