How can I start a job on a *nix system that will not exit when my session exits?
Asked
Active
Viewed 308 times
2 Answers
2
Use the command nohup, and then add an ampersand (&) at the end to put the job in the background.
$ nohup ./fetch_command > fetch_log_file &
Then you can exit the shell and the job will continue running.
JSchaefer
- 7,031
- 4
- 20
- 10