About Using Tmux for Time-consuming Scripts on Remote Servers
Using tmux
utility you can start some time-consuming command on a remote server and then leave it running there while closing the SSH connection.
Install it to remote Ubuntu Linux server with:
1 |
|
On that server, start a new bash window with:
1 |
|
Then start any time-consuming script or command.
While it's running, detach the window with:
Ctrl + b, d
Now you can log out or exit the SSH connection.
After a while, connect to the server and get back to long-running command with:
1 |
|
To exit the tmux window completely type:
1 |
|
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django App for You
Django GDPR Cookie Consent app
For Django websites that use cookies.
Django App for You