Forums

restarting the bot

where can I put my phone number??

where can I put my phone number??

enter image description here

enter image description here enter image description here

new BASH is not created --- if I create a bash manually, --- then this bash does not receive the request to enter a phone number or token

What is the relation between your bash console and your task?

how do I run a replay of my code - without a token?? When I run it manually, my code works - but when I try to create an auto run - it asks for a token. I already entered it - why is he asking for it again??

If your script is interactive -- that is, it expects you to type things in when you run it -- then you won't be able to run it as an always-on task. If the script is yours, you will need to change the code so that it can run without user interaction. If someone else wrote the script for you, you'll need to ask them to make that change or to tell you how to run it non-interactively.

When the servers are rebooted, my code stops. How can I make it start automatically after a reboot?

Consoles are ephemeral by design. You need to pass your token into task different way, maybe use some config file or something like https://help.pythonanywhere.com/pages/environment-variables-for-web-apps