Hallo,
ich lasse meinen Raspberry 3 mit Raspbian Jessie Lite im Kiosk-Modus laufen.
Beim Start wird automatisch eine Internetseite aufgerufen.
Das funktioniert auch gut.
Nun möchte ich, das jeden Morgen um 07:00 Uhr ein Reboot durch geführt wird.
Ich habe folgendes gemacht:
1. mit dem Befehl:
nano /etc/crontab
2. Folgendes eingetragen:
i# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
#SHELL=/bin/sh
#PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
0 7 * * * sudo reboot
Der Reboot wird aber nicht ausgeführt.
Was mache ich falsch?