Forums

My consoles reset often

Hi, I am recently using the site consoles to host my telegram bot using a python script. The only problem is that almost every 24 hours the console resets itself, giving no errors and stops running my script. How can I prevent this from happening? If this is not possible, can I at least make the console resume running my script after resetting?

The consoles are ephemeral by design. If you want long running jobs you need an always-on task feature -- https://help.pythonanywhere.com/pages/AlwaysOnTasks/.