Forums

Always on start doesn't start

I have a python script that suppose to update a json file for the use in an app. I tried using always on task so that script keeps the json updated. In the python always on task tab it is stuck on starting. When I check the log it says permission denied.

How are you specifying the script in the always-on task table? Always-on tasks are Bash commands, so you can't just put a path to a Python script there -- instead, you should put the Bash command to run that script using the appropriate version of Python -- for example:

python3.8 /home/hardiz/something/ascript.py