Quick correction
This commit is contained in:
parent
9b58ce5480
commit
19d8cb73f9
@ -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…
Reference in New Issue
Block a user