+ 1
I created .py file for telegram bot and run it on python. bot started working, and when I closed running .py file my bot stopped
Should i upload it on server?
1 ответ
+ 1
Yes, it will be better to  upload script to server and run it into background. 
try something like "python myscript.py > /dev/null 2>&1 &"
then you can check it in processes  - "ps aux | grep myscript "
and kill it by PID  if you want to end process.



