not auto starting

So I am pretty new to dietpi and I am trying to execute a python script using the autostart file.
I added the command python my and saved it and restarted and it doesn’t execute the file.
But, if I use the bash command and manually run the file it runs just fine.
Im sure its something basic Im missing, just not sure what.
Any ideas would be helpful.


Do you provide the full path to the in the script?

Yeah. It works fine if I just run the script, but its not working on boot for some reason.

I don’t have this script on my dietpis.
Where is it located and how is it configured to run on boot?
If you add in /etc/cron.d/custom with content @reboot root /path/to/ does it work on reboot?