I'm trying to short poll an external API which doesn't support websockets, so I need to constantly make API requests every few seconds or maybe multip ...
I'm trying to short poll an external API which doesn't support websockets, so I need to constantly make API requests every few seconds or maybe multip ...
Rails ActiveJob has a retry_on hook that allows you to customize retry behavior. For example: retry_on AnotherCustomAppException, wait: ->(execu ...
I have setup a Rails 7 project running in Docker. Using the whenever gem (using cron) I tried to execute either a rails runner task a rake task ...
I guess everything is in the title. I scheduled a job on scheduler.rb weeks ago. It was suppose to run every minutes. We are not using it anymore. I' ...
Here's my Controller Here's my Worker I didn't get complete file object in CsvWorker, I only get this file object as string I want to access ...
I am trying to implement an ActiveJob Serializer so that I can deliver email with the deliver_later method. Examples I see of this say that I should e ...
I have an specific requirement to be implemented, and any thoughts on thet would be welcome The requirement A given Appointment model has the follow ...
When I perform my active job with sidekiq I receive NotImplementError, my job do a change of state of is_expired when expireDate == Date.today, I have ...
Running Rails 7 and creating a simple job that extends ApplicationJob, the perform method works, but not the perform_later. Do I need to install a que ...
I would like to pass on the request params so that I can execute it on the delayed_job as follows: ObserveJob.perform_later(request) but the error i ...
I'm trying to send email campaigns in a rails app with the Heya gem and GoodJob. The example in the Heya readme as well as the Heya example app uses S ...
. Answers to this question are eligible for a +50 reputation bounty. r3 ...
I want to generate a PDF with ActiveJob, and then save it as an attachment to a record. When I generate the PDF from a controller action, it looks fi ...
In our Rails app, we have few background jobs, which have some common functions. Is it good idea to use base class ApplicationJob for keeping definit ...
I have this code in my test.rb : config.active_job.queue_adapter = :inline In the test I have: scenario '15 minutes after last call a recall shoul ...
I want to use the ruby redis client to subscribe to a channel. When subscription was successful I want to start an ActiveJob (Sidekiq is used) job usi ...
I have survey responses that I need to display in 2 week increments based on the created_at date. The output should be something like: {10/1 : 4 10/1 ...
I have to check if the same job has already been added to the queue before enqueue again. Currently I use this code but it's very inefficient because ...
I have code to send invites to members of my website and it can be sent via email, real-time notification or One Signal. The code works great in devel ...
I am getting a wired error while passing class and date to an ActiveJob with the Sidekiq adapter. As per the doc, ActiveJob should support both typ ...