-
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
Delayed jobs not executing #657
Comments
I'm suffering from a similar issue. I have a fixed |
Can you please provide a sample application that reproduces the error? |
Hi @rafaelfranca thanks for the response. Unfortunately this is part of a much larger application (I have 70 delayed/scheduled jobs) so its impossible to extract it out into a distinct sample app. I totally understand that doesnt give you much info to help debug/diagnose and this is worst kind of issue report. Anyways, perhaps some more information. I'm running Would this be indicative of an issue? From my understanding I think I should be expecting to see a value in that set. So would this indicate that I dont have a current master? |
I created a test project to demonstrate this issue. I'm finding that both delayed and scheduled jobs are not executing. https://github.com/chriskasza/resque-test This is the first time I've used |
I was running pretty old versions of resque ( |
I'm using the latest version of resque-scheduler (v4.3.1) as well. But I'm also using the latest Rails (v5.2.2) and Ruby (v2.5.3). Maybe it has something to do with that? Also, I noticed that #647 sounds similar to this issue. |
Should be related to this: https://stackoverflow.com/a/39629389/586033 and #613 (<-- possible workarounds there) besides the one you mentioned @chriskasza Basically resque-scheduler enqueueing doesn't seem to be compatible with ActiveJob, worst of all jobs get enqueued, are cleared from queue by workers, but nothing is actually executed. |
hi, |
Hi all!
First of all: thanks for this great project!
I've got resque (1.27.4) and scheduler (4.3.1) up and running with Rails (5.2.1). General background jobs are working fine, and it seemed delayed jobs were too. They are being added to the delayed queue (I can verify through the resque-web UI) and are correctly removed from the UI when the time comes. The only thing is that they actually never end up being executed. When looking through the logs, there's no info whatsoever. I also must note that I've tried it with different jobs (I've created a job with only 1 log as a test) and have tried it with ActiveJob as well as standalone Resque. When I schedule a job in the past, it does get executed (same if I hit 'execute now' in the UI)
I'm not entirely sure what information I should provide, so for completeness I'll provide my complete resque rake file.
My config file actually has nothing in it, since I'm not using the recurring feature yet.
I understand this question might seem a little vague, but I'd greatly appreciate it if someone could point me in the right direction. I've been looking through various docs, issues & blogs and can't seem to find anyone struggling with the same issues, which leads me to believe I'm overlooking something rather simple. If I'm missing some info, do tell. Thanks in advance!
Cheers!
The text was updated successfully, but these errors were encountered: