You are on page 1of 1

sudo su

env EDITOR=nano crontab -e

ls -lt /etc/alternatives/editor

crontab editor
sudo crontab -e
pilih "nano"

save file (^o) dan exit (^x)

check
crontab -l

reboot
0 0 * * * sudo /sbin/shutdown -r now

shutdown
0 0 * * * sudo /sbin/shutdown now

shutdown @ 1:15pm
@reboot /home/pi/off-button/wait-for-power-off-button.sh
30 15 * * * sudo /sbin/shutdown now
30 15 * * * /home/pi/CRONCHECK.sh

You might also like