Set script to run on machine startup
Sudo crontab -e
@reboot python /home/pi/Desktop/script.py
281a7ee2-f7a2-4c15-b381-731dd451052f
Created on: 13th October, 2022
Last updated: 13th October, 2022
Source: How to start a script at start-up on a Raspberry Pi - YouTube