Forums

why I must restart my script everyday?

I create a script and I deployed to pythonanywhere's server and then run it but script is closing automaticly after a 24 hours. I know pythonanywhere is give me a CPU limits but how do I always run my script without restarting every time.

Note: Sorry for my english

If you're running your script in a console, it's probably being terminated due to general console server maintenance -- consoles aren't designed for long-running tasks. Instead, because you have a paid account, you can use an always-on task to run your script.