Forums

Permission denied

Hello !

I am trying to run an always-on-task. I put "/home/my_user_name/codev1.txt". Since that, I've got the message "Permission denied". (I've the Hacker plan) When I tried to run the files on a console, all works perfectly ! How can I fix that ?

Do I need to put in my text file something special in order to run the code in an always-on-task ? I think I read about creating a "virtual environnement", is that it and how to do this ?

Thanks for your help!

Take care :) (sorry for my level in english and also in pyhton, I'm a neo-neo-neo)

To set things up for the always-on task, you just need to use exactly the same command as you would in a Bash console -- so, for example, if you would run it from Bash with

python3.10 /home/username/script.py

...then that exact command is what you would enter in the always-on task setup, including the python command at the start.