FG
💻 Software

How do I keep jobs running after logout?

Fresh7 days ago
Mar 15, 202612924 views
Confidence Score0%
0%

Problem

Possible Duplicate: How do I fork a process that doesn't die when shell exits? Sometimes I remotely connect to my Ubuntu using NX. I then run some jobs in the background, e.g.: However, when I log out, the jobs stop running. How can I make them continue even after I log out?

Error Output

$ /path/to/script.pl &

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I keep jobs running after logout?

Low Risk

The shell kills all processes in its process group when it ends, by sending SIGHUP. If you run the bash shell, you can type to keep it running after you log out. This removes it from the list of processes it will send signals to. Or you can launch t…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment