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

What happens if a job is scheduled in the past? #343

Open
miketwo opened this issue Jun 23, 2021 · 3 comments
Open

What happens if a job is scheduled in the past? #343

miketwo opened this issue Jun 23, 2021 · 3 comments

Comments

@miketwo
Copy link

miketwo commented Jun 23, 2021

Example:

Sidekiq.set_schedule("test", "at" => 2.minutes.ago, "class" => "Whatever")
SidekiqScheduler::Scheduler.instance.reload_schedule!

I presume it runs immediately, because that's how sidekiq works, but it would be good to document it, and maybe even provide a flag that determines the behavior? (drop vs run)

@stale
Copy link

stale bot commented Oct 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale The issue or PR has been inactive label Oct 2, 2021
@marcelolx marcelolx removed the stale The issue or PR has been inactive label Oct 2, 2021
@stale
Copy link

stale bot commented Jan 9, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale The issue or PR has been inactive label Jan 9, 2022
@marcelolx marcelolx removed the stale The issue or PR has been inactive label Jan 9, 2022
@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale The issue or PR has been inactive label Apr 16, 2022
@marcelolx marcelolx removed the stale The issue or PR has been inactive label Apr 16, 2022
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

2 participants