How to Run a Script on Startup for Raspberry Pi // EASY

Описание к видео How to Run a Script on Startup for Raspberry Pi // EASY

This video shows how to run a script on your Raspberry Pi when it is powered on. Let me know if you have any questions!

If you prefer reading, here's a blog post with the instructions: https://www.samwestby.com/tutorials/r...

Consider subscribing if this is helpful: https://www.youtube.com/samwestbytech...

MY CAMERA: https://amzn.to/3reaDlK
MY MICROPHONE: https://amzn.to/3fhunSN
MY LIGHTING: https://amzn.to/3dHll1i

FREE Amazon Prime: https://amzn.to/3ren80W
FREE Audible Plus: https://amzn.to/3xYzJsR

RASPBERRY PI 4: https://amzn.to/3BC4i9I
RASPBERRY PI PICO START KIT: https://amzn.to/3REvjis
RASPBERRY PI CAMERA V2: https://amzn.to/3QFp90c
ELECTRONICS COMPONENT STARTER KIT: https://amzn.to/3qB23xg
ASSORTED SENSOR KIT: https://amzn.to/3U7M7zV
USB SPEAKER: https://amzn.to/3La4foK
USB 1080P WEBCAM: https://amzn.to/3Lq0OL7

I may earn commission if you purchase from the links above

Here are timestamps and steps:
0:00 Intro
0:26 Testing the script
1:28 Initializing crontab
Command: sudo crontab -e
Enter password if requested
Select option 1 to enter into the Nano editor
1:52 Edit crontab
@reboot ~Your command here~ &
*Don't forget the ampersand*
2:32 Testing
2:46 Outro

Click here to subscribe: https://www.youtube.com/samwestbytech...

Комментарии

Информация по комментариям в разработке