Closed laphlaw closed 5 years ago
Using this code: MyJob.schedule(run_every: 1.day, run_at: ['11:30am', '12:07pm' '11:55pm'])
It appears that only the first two times are scheduled to run, and the last time is ignored. See below:
irb(main):002:0> puts Delayed::Job.first.handler --- !ruby/object:MyJob schedule_options: :run_at:
You seem to be missing a comma. Try:
MyJob.schedule(run_every: 1.day, run_at: ['11:30am', '12:07pm', '11:55pm'])
Oh wow, my bad. Thanks!
Using this code: MyJob.schedule(run_every: 1.day, run_at: ['11:30am', '12:07pm' '11:55pm'])
It appears that only the first two times are scheduled to run, and the last time is ignored. See below:
irb(main):002:0> puts Delayed::Job.first.handler --- !ruby/object:MyJob schedule_options: :run_at: