1
我想每周重新启动一次Raspberry PI。为此,我已将shutdown -r now
添加到crontab
,但这不起作用(当我检查uptime
时,我得到了23天的smt)。如何每周重新启动Raspberry PI
命令我做编辑crontab
:
# log in as pi user via SSH
sudo -i
crontab -e
# in crontab:
0 5 * * 1 sudo shutdown -r now
当我检查uptime
现在我得到:
13:52:16 up 23 days, 21:21, 1 user, load average: 0.87, 0.92, 0.95
PS
我跑RaspBMC