On-time automatic shutdown on Linux、Set startup

View website in full screen using Linux、There is something like signage that conveys information etc.。 This signage is automatically shut down when the store is closed、It is supposed to start automatically just before the store opens.。 Automatic shutdown uses Linux cron。 Autoboot can be set in the BIOS of the PC, so use this。 PC is DELL Studio XPS 8100。 Linux is Ubuntu、I can't log in as root, so use a terminal and write shutdown to / etc / crontab.。 —[Automatic shutdown]——————— Launch the terminal、 sudo su – Enter your password cd /etc echo 30 22 * * * root /sbin/shutdown -h now >> crontab 1,sudo su - to become root with。 2,Move to etcDerektori with cd /etc 3,echo 30 12 * * * root /sbin/shutdown -h now >> To crontab with crontab 30 22 * * * Write root / sbin / shutdown -h now。 30 22 * * * 22 every day:30Will be shut down。 —【Auto start】——————————- Boot up the PC BIOS。 Open Power Management Setup。 ・Auto Power On is "Enabled" ・Auto Power On Date is "Every Day" ・Auto Power On Time is "01:00:30'Please be careful here、Auto Power On Time was Greenwich time, so、With this set time, 5 in the morning in Japan:30Will be。 —【reference】—————————- If you want to change the automatic shutdown setting、sed -i '/shutdown/d on the device’ crontab and、I think it's easier to understand if you delete the shutdown line and then add it again.。