Forums

Python script (telegram bot) ending after few hours

Hi. I try run my pyTelegramBotAPI in Bash. It, run well, but after few hours, it stopping, and, when I open the Bash console, ther is now any errors, and console look like a new runned. Please help.

We need to restart consoles every now and again to manage the service so you can't rely on them being alive forever. See http://help.pythonanywhere.com/pages/LongRunningTasks/ for alternatives.