Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5566

Troubleshooting • Re: Cronjob does not run launcher.sh

$
0
0
Goodday SurferTim

Thank you for reviewing my code.
The sound issue is solved bij deleting "sudo" in the laucher.sh.

On This Raspberry the crontab would not save my @reboot. So I took another Raspberry with a clean install and the Python script works fine. But the command sh launcher.sh gives me this error:

Code:

: not found: 4:launcher.sh: 5: cd: can't cd to /launcher.sh: 6: cd: can't cd to /home/pi/dirpython: can't open file '/home/pi/dir/baby.py\r': [Errno 2] No such file or directorylauncher.sh: 8: cd: can't cd to /
What is this?

Statistics: Posted by Wessiez — Mon Nov 04, 2024 9:17 am



Viewing all articles
Browse latest Browse all 5566

Trending Articles