Quick correction

This commit is contained in:
echarp 2016-09-17 18:22:26 +02:00
parent 9b58ce5480
commit 19d8cb73f9

View File

@ -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]