Why cd? You are using the full path to the python file.
Where did the "\r" come from? I don't see that in the launcher.sh
Edit: You can run a python file with crontab.
Set the python file permissions to "executable by anyone".
Put this as the first line in the python file.Then in crontab
Where did the "\r" come from? I don't see that in the launcher.sh
Edit: You can run a python file with crontab.
Set the python file permissions to "executable by anyone".
Put this as the first line in the python file.
Code:
#!/usr/bin/env python3
Code:
@reboot /home/tim/Python3/myfile.py &
Statistics: Posted by SurferTim — Mon Nov 04, 2024 9:22 am