Hello to all! my problem is , i need to be persistent with mi bash console, because there are one Telegram Bot working on it, and i dont know how, but 1 time at day the bash console stop. How can i fix that? Thanks
Hello to all! my problem is , i need to be persistent with mi bash console, because there are one Telegram Bot working on it, and i dont know how, but 1 time at day the bash console stop. How can i fix that? Thanks
Hi there,
This isn’t a bug, it’s actually expected behaviour on PythonAnywhere.
Our Bash consoles are ephemeral by design. That means they can be shut down automatically, especially after periods of inactivity or if the system needs to reclaim resources.
If you're running a Telegram bot that needs to stay up continuously, the best option would be to use an Always-on task, which is designed for exactly that kind of long-running background process.
You can read more about it here.