-
Notifications
You must be signed in to change notification settings - Fork 481
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
Resque#scheduled_at returning empty array #479
Comments
The trouble here is that in order to search, we need the whole payload of the job, not just its class. |
Thanks for the quick response @yaauie. So I've tried passing in the
|
The trouble is that the args have to be exact. In this case, I believe it is different because I think you would mean: Resque.scheduled_at(SomeJob, "SomeArg") |
@yaauie We've tried about every combination of args and even jobs not requiring any args at all and it fails to return anything. Any tips? |
Based on the source for
Does this method eagerly store a job in redis for jobs in the schedule or does this only return jobs explicitly scheduled with |
I'm currently running Rails 4.2.0 and have a number of jobs tied to a specific class. When I call
Resque.scheduled_at(class_name)
. I'm getting an empty array returned. I know the jobs exist because when I'm calling justResque.schedule
I get the hash listing all of my jobs out. I'd provide a stack trace but I'm not getting any errors! Is this broken for anyone else on Rails 4.2.0?The text was updated successfully, but these errors were encountered: