Computer Management: timed computer Shutdown

Source: Internet
Author: User
Some time ago, I sorted out the computers and networks of the department and produced several "Operation machines", "Test Machines", and "test database servers". These machines must be on at work, in accordance with company regulations or energy-saving requirements, shutdown is required at night. It is very troublesome to manage. If you want to work out an automatic switch, it is very easy to use. Share the following: Automatic bootThe automatic boot function depends on the power management of the Computer BIOS. Most machines now support the automatic boot function. You only need to find it carefully. For example DellIn "Power Management", there is an "auto on mode", you can set the start time and whether to start every day, or only start on workday; another example is, LenovoIn the "resume on RTC alarm" in "power", you can also perform similar settings. Automatic shutdownAutomatic shutdown depends on system task scheduling. This function is very useful. I also added this function to my office machine, so sometimes I forgot to shut down after work, it is automatically disabled. In WindowsCommand: Enter "at/every: M, T, W, Th, F, S, Su shutdown-s-t 120 ", you can automatically shut down the instance at every day and wait for 2 minutes. If you do not want to shut down the instance, run the "shutdown-a" command to cancel the shutdown process. LinuxEdit the "/etc/crontab" file, add a line "04 21 *** root/sbin/poweroff" to the end, and shut down every;
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.