📌  相关文章
📜  树莓派在启动时运行 python 脚本 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:38.194000             🧑  作者: Mango

代码示例1
Add it to the crontab
The crontab runs commands at defined times.

Edit the file:

sudo crontab -e
Add line to file (here a python script):

@reboot python3 /home/pi/Desktop/exemple.py &