Keep running process after ssh logout
- fabiobiscia
- Posts: 24
- Joined: 08 Jan 2021, 08:28
Keep running process after ssh logout
Hi everyone. I have a python script which is supposed to run tasks on background. From my TOS web GUI I was unable to start the .py script so I did it from the SSH terminal. Unfortunately, however, if I log out of the SSH session, or the computer switches off, the process crashes. Is there a way to start a process and leave it running on background after SSH logout? Thanks
Re: Keep running process after ssh logout
You have different options, appending & after the command, or using either nohup or screen commands