Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip_first_run option is not being honored #33

Open
tboyko opened this issue Nov 17, 2017 · 4 comments
Open

skip_first_run option is not being honored #33

tboyko opened this issue Nov 17, 2017 · 4 comments

Comments

@tboyko
Copy link

tboyko commented Nov 17, 2017

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.

@rafbm
Copy link

rafbm commented Dec 13, 2017

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'

@tboyko
Copy link
Author

tboyko commented Dec 13, 2017

@rafbm Thanks for this information. When do you anticipate publishing the changes to a new gem version?

@tonyc
Copy link

tonyc commented Oct 16, 2018

I just ran into this, and I'd also like a rubygems-published version :)

@morgoth
Copy link

morgoth commented Oct 20, 2021

Looks like this should be released https://rubygems.org/gems/clockwork
Can this be closed @tboyko ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants