running a python file 24/7 on a vps?
-
- New to forums
- Posts: 1
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Sun Jul 04, 2021 9:01 am
running a python file 24/7 on a vps?
is there a way to run a python program 24/7 on a server with the command line or shell open so that i can interact with it? sorry for the easy question but i'm completely new to server mechanics. Thanks!
Re: running a python file 24/7 on a vps?
Something like screen should work.
Code: Select all
screen -m py file.py