###### tags: `Raspberry PI` ### 開機自動執行 `sudo nano /etc/xdg/lxsession/LXDE-pi/autostart` ``` @lxpanel --profile LXDE-pi @pcmanfm --desktop --profile LXDE-pi @xscreensaver -no-splash @lxterminal -e sh runAPP.sh ``` ### 定期重開機 1. 開啟終端機(Terminal),開啟例行性工作排程 ``` sudo crontab -e ```  2. Press #1 to choose the nano file editor. Then press the down arrow to scroll to the very bottom.  3. Step 3: Add Scheduled Reboot Time ``` 0 0 * * * /sbin/shutdown -r now ``` ### 建立捷徑 ` ln -s /home/pi/runAPP.sh /home/pi/Desktop `
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up