Reputation: 462
I set up a VM with google and want it to run a python script persistently. If I exit out of the SSH session, the script stops. Is there a simple way to keep this thing going after I log out?
Upvotes: 2
Views: 1076
Reputation: 164
Since you can open an SSH session you install any number of terminal multiplexers such as tmux, screen or byobu.
If you can't install things on your VM, invoking the script every minute via a cron job could also solve the issue.
Upvotes: 2