Les rails font quelque chose pendant 3 minutes
# /app/jobs/some_job.rb
class SomeJob < ApplicationJob
def perform(params)
# do something with the user
end
end
SomeJob.set(wait: 3.minutes).perform_later(params)
Benedict Ouma