Forums

Does your python code stay working even after the 23 hours?

Well, im hosting just a main.py python code it is just one file, and I need to know if I need to start it every 23 hours or does it loop? I don't need any logs on the bash consol so even if it gets cleared it's ok, I just need the code to be running.

We do not keep consoles running forever. We need to restart them to manage the service. If you need something to run continuously, use an always on task: https://help.pythonanywhere.com/pages/AlwaysOnTasks/