Quick correction

filter
echarp 6 years ago
parent 9b58ce5480
commit 19d8cb73f9
  1. 1
      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]

Loading…
Cancel
Save