Rails: Start Resque Worker for Async Mail Delivery
QUEUE=mailers rake resque:work
Assuming you have properly configured Resque to work with ActiveJob, you will now have a worker waiting to execute mail delivery requests. Read more about how to execute these deliveries to take full advantage of the feature.
If you want to run the worker as a background process simply set the BACKGROUND
environment variable before running the rake
task:
BACKGROUND=1 QUEUE=mailers rake resque:work
Tweet