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

Troubleshooting • @reboot does not work as a cron job

$
0
0
I have been trying for days various ways to run a python program at startup.

I have succeeded in getting it to run when I open a new terminal but when I enter this as a cron job it does nothing:

@reboot /home/john/Documents/robotcode/start.sh

The path is correct and it works if pasted into a terminal.

All suggestions welcome!

I have tried many other suggested methods with no luck.

Could it be that cron is not running at all?

Thanks

Statistics: Posted by dot.dox — Thu Jul 30, 2026 1:23 pm



Viewing all articles
Browse latest Browse all 7755

Latest Images

Trending Articles



Latest Images