I've tried every command I can find in the forum and in the documentation but haven't had any luck.
I'm trying to run a .py file located in my root folder.
I've tried: python3 bot.py python3 /home/my_username/bot.py cd /home/my_username/; python3 bot.py (I'm using my actual user folder name in those placeholders above)
I've tried adding #!/usr/bin/python3.9 to the top of the .py file.
I can run the file perfectly fine from my bash console but it won't work in scheduled tasks.
Log is giving this every time: /bin/bash: python: command not found
2021-11-22 03:04:11 -- Completed task, took 5.01 seconds, return code was 127.
Does anyone have any suggestions?