Skip to content

Run on boot

Glenn Salaman edited this page Aug 18, 2020 · 1 revision

There's a couple ways you can do this...the most popular seems to be doing systemd, but I've had more luck with crontab. Here's how:

sudo crontab -e At the bottom of the file, add:

@reboot sleep 15 && /home/pi/[your_script]

Note this script needs to be chmod-ed to 777

Clone this wiki locally