This question already has an answer here:
- Keep running a script via ssh 3 answers
I'm trying to write a shell script that does a lengthy batch job on a remote server. I'll be running the script over SSH.
The thing is, I intend to start the script in the evening and collect the results the next morning; I'd prefer not to have my local computer have to run all night, as it's not needed as part of the batch process. As such, is there a way I can close the SSH connection and still have the shell script continue to run on the remote server?
tmux
orscreen
and reconnect later. – Anthon Nov 17 '13 at 20:37