Back end Python Script

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

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?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct