Back end Python Script
Linode
Linode Staff
I want to run a python script on my existing server without touching the current program i'm running on this server
its a script which i want to run continuously in back end.
1 Reply
rgerke
Linode Staff
You can run a Python script in the background of a Linux server pretty easily, where it will not affect any of the current programs that you're running.
I did some online research to show this, and I found some resources which I think will be helpful.
The first is from a blog, and it gives you the steps you can take to have the script running in the background - even when the terminal is closed. It instructs you to use a shebang to do this:
Running a Python Script in the Background
And from Quora:
What is the easiest way to run a Python script in the background?