Possible Duplicate:
Prevent a background process from being stopped after closing SSH client
I have a program that takes a lot of time to finish.
It is running as root over ssh.
I want it to continue to run after I logout,is this possible and how would I achieve this?
You could use screen
, detach and reattach
You should try using nohup
and running it in the background:
nohup sleep 3600 &
Start in the background:
./long_running_process options &
And disown the job before you log out:
disown
I would try the program screen.
Source: Stackoverflow.com