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 – パスワードを入れます cd /etc echo 30 22 * * * root /sbin/shutdown -h now >> crontab 1,sudo su - で root になります。 2,cd /etc で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 を 『Enabled』 ・Auto Power On Date を 『Every Day』 ・Auto Power On Time を 『01:00:30』 ここで注意なのですが、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’ crontab と、I think it's easier to understand if you delete the shutdown line and then add it again.。