Using Screens
💻 Navigating the Bot and Jupiter in a Screen Session
To keep the bot running even after closing the terminal, we will use screen
:
Going into a Screen Session
To go into the NotArb bot screen
screen -r notarb
or to go into the Jupiter screen:
screen -r jupiter
Detach from the Screen
Press Ctrl + A
, then D
.
Fully Close the Screen Session
Kill the notarb Screen
screen -XS notarb kill
Kill the Jupiter Screen
screen -XS jupiter kill
Stop the NotArb Platform
It's time to kill all the screens because the bot is not configured to run properly yet.
screen -XS notarb kill
Kill the Jupiter Session
screen -XS jupiter kill
Multiple Instances of the Same Name?
If for some reason there are multiple notarb or jupiter screen sessions, you will have to kill the session using their PID. Get the list of screen sessions running:
screen -ls
You may see:
There are screens on:
1755811.jupiter (11/04/2024 12:54:21 AM) (Detached)
6969696.jupiter (11/04/2024 12:55:21 AM) (Detached)
If you wanted to kill the latest one with the PID of 6969696, execute the following:
screen -XS 6969696 kill
Ensure you don't have multiple screen sessions running the bot simultaneously to prevent failures.
Last updated