How can I start a job on a *nix system that will not exit when my session exits?
+2
A:
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
2010-04-10 13:31:50
Thanks, I think I should have known that.
C. Ross
2010-04-10 13:54:00