Open tboyko opened 7 years ago
That must be because latest gem version 2.0.2 was released on March 18 and :skip_first_run
option was merged into master on August 13.
Use this in your Gemfile and it should work:
gem 'clockwork', git: 'https://github.com/Rykian/clockwork'
@rafbm Thanks for this information. When do you anticipate publishing the changes to a new gem version?
I just ran into this, and I'd also like a rubygems-published version :)
Looks like this should be released https://rubygems.org/gems/clockwork Can this be closed @tboyko ?
The following declaration causes the block of code to run at startup:
every(5.minutes, 'MyTask.scheduled_task', skip_first_run: true) { MyTask.delay.scheduled_task }
Happy to provide any additional information that is of use.