Is it possible to set the computer on a shutdown timer? Setting a timer to automatically turn off your computer at the right time - nothing could be easier! How to cancel computer shutdown via command line


Greetings, blog readers! In this lesson, we will look at the situation of using a computer as an alarm clock, or more precisely, turning on or.

I think every novice user has faced the question of how to turn off the computer on a schedule? After all, there are situations when a computer performs a certain task, for example, downloading information that is important for us from the Internet, or it can be recording data, or some other significant tasks that must be brought to their logical conclusion from the moment they are placed in the execution queue .In this case, the completion of the task can be expected at a fairly late hour, for example, only by 5 o’clock in the morning. Of course, in this case you can use additional functions programs that provide settings for shutting down the computer after successful implementation operations. But what if some programs do not have such functions to turn off the computer after completing a task?

In this case, it is advisable to use the program automatic shutdown computer, which is called “Task Scheduler”.

IN operating system Windows 7 task scheduler is present from the moment the system itself is installed. Using the task scheduler, you can manage the power of your computer by specifying a specific command. In order to open the task scheduler, you need to click on the “Start” button and type “Scheduler” in the search bar. To enlarge the pictures, click on the pictures.

After that, left-click on it and as a result the main window of the task scheduler will open. Then we will need to open the “Create” section simple task».

In the new window that opens, we will need to set necessary settings. First, specify a name, for example, “Turn off the computer.”

In the next item “Description” you can specify the task being performed by the computer, for example, “Switching off the computer at 05-00”.

After that, click “Next” and in the next window indicate the startup type. Here you can pin the task you are creating so that, for example, it is executed daily. I select the startup type “One-time” and in the next paragraph I indicate the time to turn off the computer, namely at 05-00.

After you have set the time to turn off the computer, you will need to click “Next”. In the next step, we will need to select a computer shutdown program. Click “Browse” and select Shutdown.exe, located at: local disk C - Windows - System32 - Shutdown.exe.

In the “Argument” line we will need to enter the “-s” command, which is responsible for turning off the computer. At the final stage, click “Next” and then “Finish” and minimize the task scheduler window.

When the time comes when the computer needs to shut down, a notification will appear indicating that the computer will shut down in one minute.

Thus, using the task scheduler, it will be possible to turn off the computer at a time we have previously set.

Let's consider another example when you need to turn on the computer at a given time (set up the alarm clock function for the computer). To do this, we use the same task scheduler. Open the main scheduler window and click “Create task”.

In the new window that opens, on the “General” tab, enter the name of the alarm clock, for example, turning on the computer or. In the “Description” item you can write the computer to turn on, for example at 07-00. In the “Customize for” drop-down tab, I recommend selecting Windows value 7 (if you have installed Windows system 7).

Then go to the next tab - this is “Triggers”, and click “Create”. As a result, the “Create a trigger” window will open, in which you will need to set the time for the alarm to turn on; in addition, in the “Options” item you can set the frequency of the alarm clock: daily, weekly, monthly. After you have set all the necessary settings, click “OK”.

Thus, the scheduled task of turning on the computer will appear in the field in the “Triggers” tab. Next, you will need to go to the “Actions” tab and click on the “Create” button. In the window that opens, click on the “Browse” button and select for yourself, for example, your favorite music file that will be played when the alarm clock turns on. Once you have selected the music file, click OK.

In the next tab “Conditions” you will need to check the box “Wake up the computer to complete the task” and then click “OK”.

Thus, we set up an alarm clock for the computer. Finally, you will need to put the computer into hibernation or sleep mode. To do this, click on the “Start” button and click on additional menu Shut down and select Sleep or Hibernate. Within 30 seconds, the computer will go into sleep mode and turn on at the time you set. In my example it was used Windows player Media Player. Oh, by the way, do not forget to adjust the volume of your player, otherwise it may turn out that the computer turns on, but the volume of the player is turned off.

It should be noted that there are quite a lot of programs that include not only the functions of turning the computer on and off, but also contain various reminders, diaries, I would like to introduce you to one of these programs. The program is called . This program is distributed absolutely free and has quite wide functionality in terms of computer power management, you can download it by clicking the link below.

After you download this program, unpack the archive and run the file PowerOff63_RUS.exe, as a result the main window of the program will open, which, as you can see, contains various tabs computer power management.

By default, the first tab “Timers” opens, which contains: information, additional features, CPU load. In the additional features section of the “Schedule” tab, you can set the time to turn off the computer, select all days or a specific day and set the time accordingly.

The following tabs allow you to customize the diary to your liking, I think everything is clear here. In the “Hot Keys” tab you can assign system control to various commands. Let's say, to set some system control command, you will first need to check the box and then press and hold Ctrl key, additionally click on any Latin letter.

The next tab, “Scheduler,” allows you to set a specific task and display it at a specified point in time. For example, you can tell the program to open text file at a given point in time.

In the next tab “Program Settings”, to ensure automatic start Poweroff, you need to check the boxes as shown in the figure. At the same time, at your discretion, you can edit the “Texts” that will be displayed when the computer goes into sleep mode, when you shut down, or reboot. I left the rest of the settings at default.

In general, there is nothing difficult to manage; you just need to work with this program a few times and you will already acquire the necessary skills in managing the system.
That's all for today. I hope that after reading this material, you will know how to enable and! See you in the next lesson!

The simplest and most unpretentious way to turn off a PC using a timer is to use standard commands Windows that need to be entered in command line. Core team – « shutdown" Its combination with others allows you to flexibly configure the settings for turning off the computer by time. The most necessary additional commands:

  • / s– designed to turn off the computer.
  • / r– designed to restart the computer.
  • / h– causes the PC to go into sleep mode.
  • / f– force closes everything open source software without notifying the user.
  • / t– is intended for setting the shutdown time (in seconds).

To activate the PC shutdown timer in the command line you need enter basic command and add parameters / s And / t. Don't forget to add the shutdown time in seconds at the end. If we want to turn off the computer in 2 minutes, then the final line will be like this: “ shutdown /s/t 120»

This command is entered into a special connected program connecting the system and the command line. It is located at " Start» – « Standard» – « Execute" Enter the command with the required parameters and click on the “ OK" Once the time is up, the computer will complete the task.

Using this command, you can not only turn off the PC, but also reboot his. Then to the original command instead /s enter /r. To make shutdown or reboot instantaneous, add a parameter /f. Then the final command will look like this: “shutdown /s /f /t 120”.

The main disadvantage of this method is that it is only suitable for one-time shutdown computer. For periodic shutdown(for example, daily) let’s connect another function built into Windows - “ Job Scheduler».

Using the task scheduler

First, let's figure out where the program is located. The scheduler is located in the " Start» – « Standard» – « Service» – « Job Scheduler" When we first open the program, we will not see any ready-made tasks, so we create our own:


After the operation is completed, we can check whether the task has been saved. To do this we go to library scheduler and find our task:

Using third-party timer programs

If you are not satisfied standard methods turn off the computer on a timer, then you can resort to help third party programs. They are mostly free and there are countless of them, but we will look at three randomly selected ones.

The first program that attracts the attention of the Russian-speaking audience is Wise Auto Shutdown . Full interface Russified, the design is pleasant, setup does not require specific skills.

To turn on the timer you need:

  1. Select the action that the program will perform according to the timer. As is the case with standard using Windows we can choose shutdown, reboot, sleep mode. All the others, one way or another, repeat the above (except for logging out - it sends us to select a user to log in again).
  2. We set the date, time and frequency. After that, click on the button “ Launch».

The next program on our list is Airytec Switch Off. As in the previous case, the program is Russified and free. The interface is not loaded, there are only the most necessary parameters.

To enable the countdown you need:

  1. Choose schedule(periodicity).
  2. Choose action.
  3. Check the box " Force close applications».
  4. Click on the “ Launch».

And the last, most powerful and customizable program - PowerOff. At first glance, it seems that it is simply impossible to understand the interface, but only this program allows you to customize it to suit any requirements. All main actions are displayed on the tab " Timers».

For simple shutdown time required:

  • Choose task.
  • Install response time.
  • Save settings.

The only negative is that for minimizing the program in system panel, you need to check the box yourself in the settings. Otherwise, the program will close and right time will not turn off the computer.

The timer is very convenient feature, which will allow you to use your device more intelligently, because then you will be able to control the time spent on the computer. There are several ways to set the time after which the system will shut down. You can do this using only system tools, or you can install additional software. Let's consider both options.

Many users need a timer to keep track of time and also to prevent their computer from wasting power. In this case, it is much more convenient to use additional software products, because the system’s tools will not give you so many tools to work with over time.

Method 1: Airytec Switch Off

One of best programs A similar plan is Airytec Switch Off. With its help, you can not only set a timer, but also configure the device to turn off, after all downloads are completed, exit account after a long absence of the user and much more.

It is very easy to use the program, because it has Russian localization. After launching, Airytec Switch Off minimizes to tray and does not interfere with you in any way while working at the computer. Find the program icon and click on it with the mouse - it will open context menu, in which you can select the required function.

Method 2: Wise Auto Shutdown

Wise Auto Shutdown is also a Russian-language program that will help you control the operating time of your device. With its help, you can set the time after which the computer will turn off, reboot, go into sleep mode, and much more. You can also even create a daily schedule according to which the system will work.

Working with Wise Auto Shutdown is quite simple. When you run the program, in the menu on the left you need to select what action the system should perform, and on the right you need to indicate the time for the selected action to be performed. You can also enable a reminder to appear 5 minutes before you turn off your computer.

Method 3: Use system tools

You can also set a timer without using additional software, and with the help system applications: dialog box "Run" or "Command line".


We looked at 3 ways in which you can set a timer on your computer. As we can see, the use in this case system tools Windows - no best idea. Using additional software? you will make your work much easier. Of course, there are many other programs for working with time, but we have selected the most popular and interesting ones.

User question

Good afternoon.

Tell me how you can turn off the computer at the same time (in the evening). It just often happens that I fall asleep while watching a series, and the computer remains turned off until the morning (for some reason, the settings for switching to sleep mode do not work (I set it up in the panel Windows management, in the power supply section)) ...

Anastasia, Kemerovo.

Hello.

The sleep mode most likely does not work due to open player: While it's playing the file, Windows thinks you're watching it...

In this case you need to use timer(either a separate special utility or built into Windows), to automatically turn off the computer through certain time, for example, after 2 hours (or at a specific time: every day, say, at 12:00).

Below I will look at how this can be done (without too much fuss). So...

We use special programs

The easiest way to turn off your computer at the right time is to use special utilities. Set it up once and everything works. I'll give you a few of the best, in my humble opinion ☺.

PowerOff

Developer: http://www.videozona.ru

Probably one of the most sophisticated auto switches on a computer. In addition to its main task, it can put the PC into sleep mode, hibernation, shutdown network connection, remotely turn off another PC on the network, etc.

Main advantages:

  1. A huge number of settings: a timer for a specific time, an action after the program runs (completes its work, etc.), you can set an action regarding processor load, and much more;
  2. There is a built-in diary;
  3. A log of all actions is kept;
  4. Ability to customize hot keys;
  5. Has its own task scheduler;
  6. The program starts automatically when Windows boots;
  7. Supports all popular versions of Windows: 7, 8, 10.

Switch Off

Screenshots of settings

A very simple and reliable utility for setting a timer on automatic shutdown computer. After installing the utility, an icon will appear in the taskbar (next to the clock), with which you can set all the basic settings (except for shutdown, you can set a schedule for putting the PC to sleep, rebooting, blocking all connections, etc.).

The program supports the Russian language, does not require any additional libraries, works in all Windows versions: 2000, XP, 7, 8, 10 (32|64 bits).

Shutdown timer

Convenient, simple and free utility to automatically turn off the PC/laptop at a certain time (or at a specified interval). It works on a similar principle to the first one. By the way, the program does not need installation and does not require any additional ones. libraries in the system.

I would also like to note that the utility differs from many of its analogues in one detail: it has a password that protects the timer. Those. no one except you can cancel or change it. The option is more useful for work PCs than for home (in my opinion).

Shutdown PC after all downloads

(if the time when the PC downloads all files is unknown)

Many users leave the computer turned on overnight so that it downloads the list certain files(music, films, etc.). At night, as a rule, the speed of Internet access is higher; downloading does not interfere with anyone. Moreover, not in all cities of our country - unlimited internet traffic(therefore, without night downloads - nowhere)...

If you download programs using uTorrent, then you don’t even need to download or install anything additional. Just open the menu "Settings/Shut down Windows" , then just select what action you need: hibernation, standby, simple exit or shutdown (example in the screenshot below)

uTorrent - auto-shutdown when downloads are complete

The same option is available in most download managers ( Download Master, Flashget, etc.). The screenshot below shows the possibilities Download programs Master - also in two clicks you can set when to turn off the PC (and go to bed yourself ☺...).

Download Master - turn off the PC after all downloads are completed

Setting a timer on the command line

In Windows, you can set a timer without any utilities, simply through the command line (many novice users do not like this method, nevertheless).

First you need to call the window "Run"(or immediately open the command line). To open this window, press the button combination - WIN+R.

Instructions. How to open command prompt in different versions Windows -

Then you need to enter one of the following commands and click OK:

  1. shutdown -s -t 600 - shuts down the computer after 10 minutes (“600” is the time specified in seconds);
  2. shutdown -s -t 1800 - off. in 30 minutes;
  3. shutdown -s -t 3600 - off. after 1 hour;
  4. shutdown -s -t 3600 -f - shutdown the PC after 1 hour, all programs will be closed forcibly (thanks to the "-f" switch).

shutdown -s -t 3600 (shutdown PC after an hour)

After entering the command, you will see a message in the notification area that Windows work will be completed in so many years (example in the screenshot below)...

If you want to cancel the timer- open the Run window again and enter shutdown command-a.

Using a timer in the task scheduler

The good thing about the task scheduler is that you can set not only a timer, but also the execution of any other tasks: for example, launching a program in certain cases. Very convenient so you don't forget anything.

And so, all the actions of working with the task scheduler in order:


PS

And everything is on a timer. Uok, but...

1. Using the Run menu

To activate the shutdown timer, the only command you need is shutdown -s -t xxx . Instead of three X's, you need to enter the time in seconds after which the shutdown will occur. For example, if you enter shutdown -s -t 3600 , the system will shut down after one hour.

Press the Win + R keys (open), enter the command in the field and click Enter or OK.

If you want to cancel the shutdown, press Win + R again, enter shutdown -a and click OK.

2. Using the “Task Scheduler”

This way you will not start the timer in the literal sense: the computer will turn off not after a certain period of time, but exactly at specified time.

First, open the Task Scheduler menu. To do this, press Win + R, enter the command taskschd.msc in the field and press Enter.

Now schedule the shutdown. Click “Create a simple task” in the right panel, and then specify its parameters in the wizard window: any name, repetition mode, execution date and time. For the task action, select “Run a program”. In the Program or Script field, enter shutdown and then enter the -s argument on the adjacent line. After this, click “Done”.

If you want to cancel the shutdown, open Task Scheduler again. Then click “Task Scheduler Library” in the left panel, select the created task in the list that appears and click “Disable” in the right panel.

3. Using third-party software

If you don't want to remember commands and dig through , use third party programs. For example, the PC Sleep utility can turn off the computer using a timer or exactly at a specified time. It's free and very simple.

To activate the shutdown timer in PC Sleep, launch the program and select Shutdown from the Function Select menu. Then check Shutdown in and specify the time after which the system should shut down. After that, click Start to launch countdown.

To cancel the shutdown, just expand the program window and click on the Stop button.

PC Sleep can also be configured to turn off your computer at a specific time. To do this, instead of Shutdown in, select Shutdown at. In addition, you can schedule not only shutdown, but also other actions: reboot, hibernate, hibernate, and log off. These options are also available in the Function Select list.

If you want the computer to fall asleep after the end of the movies, you can also read about the program.

How to set your macOS computer's shutdown timer

1. Using “Terminal”

The command sudo shutdown -h +xx shuts down the Mac after a specified amount of time. Instead of X's, enter the number of minutes. For example, typing sudo shutdown -h +60 will cause the shutdown timer to expire after one hour.

To enter a command, open the Terminal application, manually type or copy the characters above, and press Enter. If prompted, enter administrator. After this, the countdown to shutdown starts. To cancel it, open Terminal again, type sudo killall shutdown and press Enter.

2. Using the "Energy Saving" menu

In this section, you can schedule the computer to turn off at a specified time. Lower apple menu and click " System Settings» → “Energy Saving” → “Schedule”. In the window that opens, select the “Turn off” option, specify the day of the week and time.

When the time is up, a shutdown warning will appear on the screen. If you do not use the cancel button, the system will turn off after 10 minutes.







2024 gtavrl.ru.