From 19d8cb73f9a7505f7ffcae6bfef435c9b317dc87 Mon Sep 17 00:00:00 2001 From: echarp Date: Sat, 17 Sep 2016 18:22:26 +0200 Subject: [PATCH] Quick correction --- lib/schedule.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/schedule.rb b/lib/schedule.rb index 233b77e0..3adda817 100644 --- a/lib/schedule.rb +++ b/lib/schedule.rb @@ -9,7 +9,6 @@ module Schedule private def prepare_schedule - rule ||= 'daily' r = IceCube::Rule.send rule.split('_').first if rule == 'monthly_day' r.day_of_week start_time.wday => [start_time.day / 7 + 1]