Run delayed_jobs in detached mode

Balaji D Loganathan

12 sec read

If you run rake jobs:work &, it may get terminated when you exit the ssh session.
For it got terminated even after run the commands disown and exit from my ssh.
I then simply installed dtach (sudo apt-get install dtach), then tried the command
dtach -n /tmp/delayed_job_myapp.tmp rake jobs:work.
It worked perfectly.

Related posts:

Leave a Reply

Your email address will not be published. Required fields are marked *