We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How can I make it always run cleanly at :00? Also, is it possible to make it run every in a day, BUT run the last one at :59
The text was updated successfully, but these errors were encountered:
Your question is unclear. Let me try and help you.
What do you mean by "at :00"? If you mean at the turn of every hour, try this
every(1.day, "Test job", at: "**:00", skip_first_run: true) { SomeJob.add }
Making the last one run differently can make things much harder. Perhaps something like this:
(0..22).to_a.each do |hour| every(1.day, "Test job", at: "#{hour}:00", skip_first_run: true) { SomeJob.add } end every(1.day, "Test job", at: "23:59", skip_first_run: true) { SomeJob.add }
Sorry, something went wrong.
@quoine-doug Can this be closed?
No branches or pull requests
How can I make it always run cleanly at :00? Also, is it possible to make it run every in a day, BUT run the last one at :59
The text was updated successfully, but these errors were encountered: