Hello. I created a flask app in a digital ocean droplet. I ran the Python script and made sure it was working, then I closed the terminal. The script should run forever, but I woke up this morning to complaints from a customer saying the flask app is down. I logged into my droplet and ran the script again and everything is working now, but I am worried that this will happen again. Is there a maximum execution time for Python scripts on a droplet? How can I make sure my script is always running?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.