I have a remote Ubuntu Linux for testing a Ruby on Rails application. I deployed delayed_jobs gem in the application.
In my local machine, I used rake jobs:work to start the worker process, which will run all delayed jobs automatically.
I would like to start this worker process in Linux and then quit the SSH connection.
What’s the best practice in setting up delayed_job in linux? Thanks.
Use
nohup rake jobs:work &can fix the problem. Solved 🙂