The program turns off the computer at a certain time. How to make your computer turn off after a certain time

Processing large amounts of data on a computer requires time, which a busy person does not have in abundance. Some operations, such as video rendering, antivirus scanning of the system, downloading files from the Internet, are performed without user intervention, but not all programs can offer the function of disabling the system automatically.

Many ordinary users are wondering: how to automatically turn off a computer, similar to the shutdown timer on household appliances (washing machine, microwave oven, etc.)? Our article will discuss the main options for activating this mode using standard tools and using third-party software in Windows 7 and 10.

The ability to automatically turn off the computer was provided in advance in the earliest Windows operating systems. This method involves working with the main interface of the system – the command line. It is universal for any version of Windows and is the easiest to use.

To do this, we perform the following steps:

  1. Go to the menu “Start/Programs/Accessories” and select the program "Command line" or enter the name in the search bar.
  1. Enter the command in the console "shutdown". Help appears on the screen indicating the parameters and their corresponding arguments.

To shut down the computer normally, we will use two arguments:

  • "/s"‒ shutdown the PC;
  • "/t"‒ time of the countdown timer until the task is completed (indicated in seconds).
  1. For example, you need the computer to shut down in half an hour. Without leaving the console, enter the command “shutdown -s -t 1800” and press “Enter”.

Attention! The command must be without quotes.

Immediately after activating the computer's auto shutdown, an indication of the remaining time appears in the Windows Control Panel.

  1. To cancel this action, enter through the command line « shutdown -a".

There is a more simplified way to activate this mode, without having to enter characters into the console. To do this, in the search menu bar "Start" we register "shutdown -s -t (time in seconds)" and confirm the action with the key « Enter".

Disabling automatic computer shutdown on Windows is done in a similar way.

Using the Task Scheduler

Task Scheduler is a standard Windows tool that can be useful if you have scheduled your computer to shut down at a specific time and date. It is also used for interval (regularly repeated) actions. For example, you want your computer to shut down on its own every day at 17:00 or reboot every 12 hours.

As an example, we will show how to set the computer to automatically turn off at 17:00 every day.

To use the scheduler, you need:

  1. Go to “Start/Control Panel/Administrative Tools” or “Programs/Standard/Service” and run "Task Scheduler". It’s even easier to write this name in the search bar in Start.

In the window that opens, create a simple task by clicking on the button of the same name.

  1. The task creation wizard will open, which consists of several steps. First, you need to come up with a name. We will write "Auto shutdown". Then click "Further".

  1. In the “Trigger” item, you must specify the interval for starting the task. We choose "Daily".

There you also need to indicate the time and date of the trigger.

  1. On the menu "Action" the user specifies the process that should occur after the trigger is enabled. We need a parameter "Run the program".

  1. The name of the program - « shutdown". In the argument field we write «- s—f"(separated by a space without quotes).

In the last window we can double-check the conditions and parameters we specified and click the button "Ready".

The computer will automatically turn off at a specified time, regardless of the operation being performed, workload or other conditions. This method is useful as a safety net (if a person forgot to turn off the PC at work) or parental control (limit the time children spend in front of the monitor).

AnvideLabs shutdown timer

After standard Windows tools, we move on to a review of the small and simplest-to-manage Shutdown Timer utility from the domestic developer AnvideLabs. It is characterized by its minimalism, practicality and unification with all Windows, including seven and ten. The software is freely available and in Russian.

To start using the program:

  1. Enter the address of the developer's website http://anvidelabs.org/programms/toff in the browser line and download the program.

  1. In the window of the running program, the user can select an action, ranging from simply turning off the PC to disconnecting the mouse, keyboard, and even the Internet connection. Below is the condition for the program to operate. At the bottom there is a timer for entering the exact time to start the action. Here you can activate the countdown.

  1. Like last time, we will configure the computer to automatically turn off at 17:00. Enter the time and press the green button. The countdown has begun.

When you click on the cross in the upper right corner, the utility is minimized to tray and does not interfere with your work.

Advantages

  • Russian-language interface and minimalistic style.
  • Several actions available.
  • Completely free.
  • The timer is locked with a password at the discretion of the administrator.
  • Suitable for Win 7 and 10.

Flaws

  • It is not possible to schedule auto shutdown by date or set its interval.

Timer-alarm clock TimePC

The next program in the review is TimePC, developed by the administration of the site http://www.loadboard.ru. This solution compares favorably with the previous one due to the presence of a scheduler and the ability to not only turn off, but also turn on the PC at a given time. The program is extremely simple and functional at the same time. It can be called the “golden mean” between multifunctional combines and miniature “plugs”.

In order to acquire the TimePC program, do the following:

  1. We go to the website http://www.loadboard.ru and find an article with its description and a download link. Download and install the software on your PC.

  1. TimePC signals the launch with an audible greeting and immediately takes us to the settings menu.

  1. We are primarily interested in the point "Off/On PC". Here you can choose between entering or exiting hibernation mode. The trigger is set by time and date.

  1. The built-in scheduler is of greatest interest. In it you can specify an action for each day of the week. The frustrating thing is that you can’t set the interval here—it’s either absent or infinite.

  1. In the window "Running programs" It is possible to associate a specific action with turning on the computer. For example, you can add auto-start programs or ringtones as an alarm clock.

Advantages

  • Wide functionality.
  • There is an action planner.
  • You can put the system into and out of hibernation mode.
  • Linking a trigger for launching programs or files.
  • Russian-language interface.
  • Completely free software.

Flaws

  • The system requirements do not list Windows 10 (however, it works on it).
  • The structure of the utility is decentralized - there is no single main window.

Switch Off

The multifunctional Switch Off program from Airytec has a large number of settings and provides a lot of options for controlling your computer. This manager is an excellent alternative to standard Windows tools. The program is free, has convenient controls and clear descriptions of the buttons.

To work with the program you need:

  1. Download the full version of the Switch Off distribution from http://www.airytec.com/ru/switch-off/get.aspx and install it on your PC.

  1. The running program is minimized to tray. A custom task is managed by clicking on the program icon with the left mouse button. The schedule item is responsible for the PC auto-shutdown condition and can be used at any intervals (daily, weekly, once, etc.).

The action item allows you to select one of the available functions. Of great interest is the parameter "Predefined Commands", where you can specify any command and link it to a time or event.

  1. The task management menu opens by right-clicking and contains the same commands, but with parameters preset by the developers.

The screenshot above shows the variety of conditions implemented in Switch Off for just one task from the list.

Advantages

  • Complete freedom in managing the system: launching any task at any time with any number of repetitions.
  • Possibility of planned disconnection from the Internet.
  • Very simple program structure.
  • The interface is entirely in Russian.
  • There is a command editor.
  • Free software.
  • Supports 32 and 64-bit systems.

Flaws

  • The interface is entirely implemented in the form of context menus on the taskbar, which is not very informative.
  • Doesn't officially support Windows 10 (but works).

What to use?

Today we told you about how to configure automatic shutdown of your computer using Windows and using utilities downloaded from the Internet. This function is relevant for everyone, without exception, in the office and at home. The only question is how to do it.

In our article we have given many ways to implement auto-shutdown of a PC. All of them are good, but some may be more or less suitable for a particular person.

If the user has experience working with Windows and knows how to configure it, then it would be preferable for him to manage auto-shutdown through the standard CMD console and task scheduler. The advantage of this solution is that there is no need to download and install third-party programs, as well as the wide functionality of the Windows scheduler.

For inexperienced and unpretentious people, we recommend choosing “Shutdown Timer” and TimePC. The small functionality is compensated by the presence of a clear description and fairly convenient controls.

For everyone else who doesn't want to delve into control panels, but needs to fine-tune their system, we recommend using Switch Off. A large list of pre-installed tasks, a new task constructor and a command editor make this unprepossessing utility a professional manager.

Perhaps many of the users of stationary personal computers were wondering how to organize automatic switching on And turning off the computer at a given time or according to a schedule. In this article we will look at one of the more accessible methods.

To implement this function of a personal computer, we will use exclusively the built-in capabilities of the BIOS input/output system and the Microsoft Windows 7 operating system. The use of third-party software is excluded by itself.

Let us define a schedule that consists of the necessary conditions, i.e. we need the personal computer to turn on every weekday at 07:00 in the morning and turn off at 17:00 in the evening. Regarding weekends, due to restrictions in the BIOS input/output system, the computer will start at 07:00 in the morning and turn off after 10 minutes as unnecessary, because there is no one at the workplace.

So, let's begin. When you turn on your computer, you need to enter the BIOS input/output system. To do this, press the key "DELETE", this key is mainly used in many motherboards, but there are still other uses of the keys, such as:

Esc F1 F2 F3 F10 F11 F12

After pressing the “DEL” key, the BIOS system menu will be displayed and will look something like the one shown in the figure below:

We set the value of the “Resume by Alarm” parameter to , activating the computer to turn on according to a schedule. In the “x Date (of Month) Alarm” parameter, you can select daily execution or specify the desired day of the month; in our case, we will use the first – Everyday. The computer turn-on time “x Time (hh:mm:ss) Alarm” is set to 07:00 am.

Thus, automatic switching on personal computer organized according to a schedule: daily activation at 07:00 am, both on weekdays and weekends.

Automatic computer shutdown settings

Now we need to create a schedule for automatic shutdown personal computer. The built-in console file will help us with this taskschd.msc, the so-called “Task Scheduler”, which will perfectly cope with the task. You can launch Task Scheduler using the “Search programs and files” line and Windows Explorer.

Method 1 - “Find programs and files”

Method 2 - “Explorer”

After the above commands, the “Task Scheduler” will open, in which you need to go to the “Task Scheduler Library” item and perform the action to create a task - “Create a task” or “Create a simple task,” as you like. We will not describe a detailed description of creating a task; everything is accessible and written in Russian.

As you can see, in the figure below, two tasks have been created that produce automatic shutdown personal computer. The first task, called “OFF PC,” organizes the PC to turn off on weekdays at 17:00, and the second task, called “OFF PC Weekend,” turns off the PC on weekends 10 minutes after turning on the PC.

A detailed description of task creation is missing, but you need to know the following: automatic computer shutdown you need to enable the program launch shutdown.exe –s in every task.

And also in the “General” tab for both tasks, rules are set for completing the task only for a registered user, see below.

The created tasks will not function unless automatic user authorization is created in the system, i.e. when the computer starts and boots, login will not be performed, since you must enter a password to log in, and this is stipulated in our created tasks.

Therefore, to log into “User Accounts” and set a password for automatic login without a visible password prompt, you need to open Explorer and specify "control userpasswords2" or "netplwiz", not for everyone.

Now we have completed the setup automatic switching on And shutdowns personal computer, using the built-in functions of the BIOS and Windows 7 OS. Try it YOURSELF!

There are many situations when you need to leave your computer unattended. For example, this may be the need to download a large file at night. At the same time, having completed what was planned, the system must shut down its work to avoid downtime. And here you can’t do without special tools that allow you to turn off your PC depending on the time. This article will discuss system methods, as well as third-party solutions for auto-shutdown of a PC.

You can set the auto-shutdown timer in Windows using external utilities, a system tool "Shutdown" And "Command line". There are now many programs that shut down the system on their own. Basically, they perform only those actions for which they were invented. But some have even greater capabilities.

Method 1: PowerOff

Let's start getting acquainted with timers with a fairly functional program, which, in addition to turning off the computer, can block it, put the system into sleep mode, reboot and force it to perform certain actions, including turning off the Internet connection and creating a restore point. The built-in scheduler allows you to create an event schedule for at least every day of the week for all computers connected to the network.

The program monitors the processor load - sets its minimum load and the time it is recorded, and also keeps statistics on work on the Internet. Conveniences available: diary and settings "hot keys". There is another option - managing the Winamp media player, which consists of shutting it down after playing a certain number of tracks or after the last one from the list. A dubious advantage at the moment, but at the time when the timer was created it was very useful. To activate the standard timer you must:


Method 2: Aitetyc Switch Off

To turn off the PC using a timer, the user has a choice. Standard OS tools make it easy to set the computer shutdown time. The functional continuity of different versions of Windows is also evident in relation to such tools. In the entire line of this OS, setting the timer parameters is approximately similar and differs only due to the features of the interface. However, such tools do not contain many useful functions, for example, setting a specific time to turn off the PC. Third-party solutions do not have such shortcomings. And if the user often has to resort to auto-completion, then it is recommended to use any of the third-party programs with advanced settings.

In various cases, it becomes possible to turn off the computer at a specified time. For example, in the evening before going to bed while watching a movie, turning off your computer automatically will help you not to worry about it if you fall asleep.

Setting up automatic computer shutdown is very simple, and everything can be done using standard Windows tools, using the Task Scheduler, or some other methods that we will discuss below.

“Task Scheduler” is located in the “Administration” section of the Control Panel. Launch it and create a simple task. Following the instructions in the task creation wizard, specify the name of the task and select the frequency of the task to run, for example, daily. Next, you should specify the time and day from which our task of turning off the computer will begin. In the “Action” section, select the action for the “Run program” task. In the next step, you will need to specify the program to be launched, or rather the script (command) to turn off the computer. In the "Program or Script" line, enter SHUTDOWN, and in the "Add arguments (optional)" line: -s –f. At the last stage, the wizard will offer to check all the parameters of the created task and if everything is correct, finish the creation by clicking the “Finish” button. The images below show the steps in order.

You can also configure the computer to automatically shut down using the command line. This method is of course much simpler, although if you have ever worked with the command line. To do this, go to the menu (Start - All Programs - Accessories - Command Prompt) and write the command "shutdown /?" and press the Enter key.

After which the parameters of our utility will appear in the command line window. In this window we are interested in the main three parameters that are shown in the image.

What do we have and how can we use these commands?

To, for example, turn off the computer after 2 hours, we need to write the command like this (shutdown -s -t 7200), and then press the Enter key. To set the desired time, we need to convert hours and minutes to seconds. 7200 seconds equals 2 hours.

To cancel the specified shutdown of the computer, we need to enter the command “shutdown with the -a parameter”. That is, we enter “shutdown -a”.

This action can also be performed through the “Run” command. The image shows where this item is located.

To cancel the task, write the same as on the command line “shutdown -a”

Now you know how to create an automatic computer shutdown. In conclusion, I would like to say that some programs have the ability to automatically turn off the computer upon completion of a certain action. These are antivirus scanners, torrent clients, defragmentation programs and others.

The PC automatic shutdown timer is useful for all users. Watching a movie before going to bed, going away for a while, leaving the computer to download files or save a project - this is not a complete list of tasks, after which you can automatically turn off the computer using a timer. Such timers can be standard or created by third-party developers specifically for Windows 7.

Read also: Download computer shutdown timer

Using the standard timer to turn off the PC

To automatically set a time to turn off your computer, you should follow these steps:

  • Press “Win+R” and enter the command “shutdown -s -t N”, where instead of “N” we enter the device shutdown time in seconds.

  • After you click "OK", a notification will appear on the taskbar that the session will end after the specified time.

  • If you want to cancel the command, enter “shutdown -a” in the Run line.

You can also set the PC to automatically shut down using a .bat file. To create it, perform the following steps:

  • Open notepad and enter the following command:

echo off cls set /p timer_off=»Vvedite vremya v sekundah: »

shutdown -s -t %timer_off%

  • Next, you need to save the file and assign it the .bat extension. You can set any name for the file. However, in the “Type” field you should select “All files”.

  • After running the .bat file, a command line will launch, in which you need to specify the time for automatic shutdown of the device in seconds.

  • For example, you can specify 1800 (30 minutes) or 3600 (1 hour).

You can also automatically turn off your PC or laptop through the Windows Task Scheduler. To launch and configure it, perform the following steps:

  • Press “Win+R” and enter “msc”.

  • Here in the right menu you need to click “Create a simple task”.

  • Give the task any name and click “Next”.

  • Since we are creating a “timer”, at the next stage we need to check the “One time” checkbox.

  • Next, indicate the time when the PC needs to be turned off.

  • In the next window, click “Run program”.

  • In the “Program or Script” window we enter “shutdown”, and in the argument - “-s”.

  • After you save the task, the computer will be turned off at the specified time.

Timer programs for automatically turning off the computer

There are many programs on the Internet that allow you to turn off your PC automatically. Let's look at the most popular and easy to use.

OFF timer is a very simple and understandable program that works free of charge and allows you to turn off your PC remotely. The principle of its use is as follows.

Run the exe.file and enter the time after which you need to shut down in Windows 7. Click “Enable timer.”

The program does not require installation, and therefore does not take up free space.

The computer shutdown timer is also a simple and understandable program in Russian. To use this program, you need to remove the Setup.exe file from the archive and run the installation.

We select a place to install the program and follow the prompts.

After installation, a small window will open. Enter the shutdown time in Windows 7 and click “Start”.

The computer will turn off at the specified time.

PowerOff is a convenient software not only for automatically turning off a laptop and desktop PC, but also for rebooting the system and entering sleep mode. The principle of its operation is as follows:

  • We launch the exe.file from the archive. No installation required.
  • A large window will appear with many sections. We don't need everyone. We put a mark “Response time” and indicate the time. Next, select an action: shutdown, reboot, sleep mode, etc. In the action field, select “By timer.”

  • It is also worth putting down the date and setting the countdown time.

  • The PC will turn off after the specified time has elapsed.

SoftikBox.com

Automatic computer shutdown.

In various cases, it becomes possible to turn off the computer at a specified time. For example, in the evening before going to bed while watching a movie, turning off your computer automatically will help you not to worry about it if you fall asleep.

Setting up automatic computer shutdown is very simple, and everything can be done using standard Windows tools, using the Task Scheduler, or some other methods that we will consider below.

“Task Scheduler” is located in the “Administration” section of the Control Panel. Launch it and create a simple task. Following the instructions in the task creation wizard, specify the name of the task and select the frequency of the task to run, for example, daily. Next, you should specify the time and day from which our task of turning off the computer will begin. In the “Action” section, select the action for the “Run program” task. In the next step, you will need to specify the program to be launched, or rather the script (command) to turn off the computer. In the "Program or Script" line, enter SHUTDOWN, and in the "Add arguments (optional)" line: -s –f. At the last stage, the wizard will offer to check all the parameters of the created task and if everything is correct, finish the creation by clicking the “Finish” button. The images below show the steps in order.

You can also configure the computer to automatically shut down using the command line. This method is of course much simpler, although if you have ever worked with the command line. To do this, go to the menu (Start - All Programs - Accessories - Command Prompt) and write the command "shutdown /?" and press the Enter key.

After which the parameters of our utility will appear in the command line window. In this window we are interested in the main three parameters that are shown in the image.

What do we have and how can we use these commands?

To, for example, turn off the computer after 2 hours, we need to write the command like this (shutdown -s -t 7200), and then press the Enter key. To set the desired time, we need to convert hours and minutes to seconds. 7200 seconds equals 2 hours.

To cancel the specified shutdown of the computer, we need to enter the command “shutdown with the -a parameter”. That is, we enter “shutdown -a”.

This action can also be performed through the “Run” command. The image shows where this item is located.

To cancel the task, write the same as on the command line “shutdown -a”

Now you know how to create an automatic computer shutdown. In conclusion, I would like to say that some programs have the ability to automatically turn off the computer upon completion of a certain action. These are antivirus scanners, torrent clients, defragmentation programs and others.

More posts on the topic

tomcomp.com.ua

Computer made easy - Automatically shut down your computer at a specified time

Sometimes, when the computer is busy performing some task and you need to leave, you need the computer to turn off automatically. Some programs have this option in their settings, and some do not. Maybe you like to fall asleep while watching movies, no matter what you might need it for.

We will talk about special programs for automatically turning off the computer in other materials, but now we will touch on the program built into Windows to automatically turn off the PC (yes, there is such a thing), this program is controlled from the Windows command line. The program is present in both Windows XP and Windows 7, so this lesson is relevant for both operating systems.

Click the "Start" button and go to the "Programs > Accessories" menu and select "Command Prompt"

The command line will appear

Type the command shutdown /? press Enter. Now you can see all parameters of the shutdown utility

For our task we will use only three parameters

s – computer shutdown;

t – time after which the work will be completed, in seconds;

a – cancel system shutdown.

So, in order to turn off the computer, for example, after one hour, you need to type shutdown -s -t 3600 on the command line

In Windows 7, the message that the command will be executed in the tray will look like this:

In Windows XP, the result of the shutdown program that automatically turns off the computer will be such a window with a countdown of time

It is also convenient to use this command with the desired options in the Start > Run menu

If after starting the auto-shutdown program there is a need to cancel it, you need to write shutdown -a

For windows XP - Program for automatically turning off the computer "Shutdown Timer"

For Windows 7, for these purposes you can use the task scheduler or Auto Shutdown A program to automatically turn off your Windows 7 computer

prostocomp.com

How to configure automatic shutdown of the computer on Windows 7?!

Hello, friends! After reading this article to the end, you will learn how to configure the computer to automatically turn off after a specified time. I think something has happened to everyone when they needed to leave their workplace, but some task was being performed on the computer. In this case, the computer had to be turned off after it was completed. It’s good if the program itself allows you to turn off the computer. Well, what if, for example, you are downloading a file, and you know how long it will take for the download to complete, but you urgently need to go somewhere? What can be done in this case? The answer is simple, you need to use the shutdown utility. 1) First, let's run it in command line mode to see all the functions of this utility. I will show using Windows 7 as an example, but don’t be alarmed, in XP the process is almost the same. Go to the "Start" menu --> "All Programs" 2) Next, select "Accessories" --> "Command Prompt" 3) The command line appears in front of us. Enter the command shutdown /? and press Enter. 4) Now we see all the parameters of this utility. But we don’t need all of them, but only 3, I highlighted them in the screenshot:

  • /s – shutdown the computer;
  • /t – time after which the work will complete, in seconds;
  • /a – cancels system shutdown.
5) Therefore, in order for the computer to automatically shut down after an hour, you need to enter the command shutdown -s -t 3600. If you want to cancel this process for some reason, then enter the command shutdown -a

Conclusion

Well, that’s basically all I wanted to tell you in this article. Now you know how to configure automatic shutdown of your computer running Windows 7. As you can see, this is not so difficult. In order not to forget the necessary commands, I advise you to add this page to your browser bookmarks (asterisk in the url input line) Sincerely, Alexander Sidorenko!

webexpertu.ru

How to configure automatic computer shutdown?

Working at a computer does not always involve constantly sitting in front of a monitor, having your fingers on the keyboard, or periodically clicking the mouse. There are cases when the task at hand can be completed for quite a long time and does not require your constant participation. And it’s time to go do other things or go to bed, but the thought of having the computer turned on is unlikely to add peace of mind to you. Such situations arise most often when the system is completely scanned by an antivirus program (especially if there are a lot of heavy toys on the computer...), when installing serious voluminous software or downloading a large amount of information from the Internet (for example, several seasons of a popular TV series in HD quality) . These conditions also apply to cases involving transcoding video files and creating backup copies of hard drive partitions.

I won’t argue that many programs involved in such long-running processes have an option that allows you to control the shutdown of the computer at the end of them. But what to do and what to do when such a function is not provided in the program or there are a number of processes in the background that prevent the computer from turning off? In this case, there is no other option but to use the automatic shutdown of the computer. This can be implemented in two ways: through specialized software (this is the method I prefer, by the way, the next material will be about it) and standard Windows tools. Let's look at how you can use standard operating system tools to configure your computer to automatically shut down.

In the Windows Control Panel (accessed through the Start menu) there is a tool called Task Scheduler. Setting it up is absolutely easy, especially after reading this article. In order to know at what point in time to configure shutdown, you need to decide when the long-running process you started will be completed. Here you can navigate by the built-in timers of such programs, which usually report the approximate time until the end of the process (you can safely add up to 30% of the time to it), or you can be guided by experience or intuition. The easiest way to open “Task Scheduler” is to search for “scheduler” in the “Start” menu; you can also find it in the “Administrative Tools” item in the “Control Panel”.

The status of active tasks can always be viewed in the “Scheduler Library”, and for our goal we need to “Create a simple task”.

First, you need to give the task a name, say, “Power Off”, after which we set the launch frequency (if the task is one-time, you can select the “One-time” option) and the required exact time of task execution.

Next, set the parameter “Run a program” and write its name shutdown, set the arguments to -s -f. The -f startup switch is needed to forcefully terminate applications that do not allow the computer to shut down.

By clicking on “Finish”, we complete the creation of the task, after which, in accordance with the figure, we make changes on the “Triggers” tab.

If you need to change the time you turn off your computer, you can always find this task in the “Scheduler Library”.

You can easily configure the system to turn off after a specified period of time without resorting to using the “Task Scheduler”. To do this, in the command line (Win + R or “Run” in the Start menu), you need to enter the following command: shutdown -s -t 600 (600 is the time in seconds before shutdown). Next, press Enter.

After the time specified in the command has passed, the system will display a window with a message about the completion of work and after a minute the computer will be turned off. To cancel this timer, use the shutdown -a command. And don’t forget that there are not 1024, but 3600 seconds in one hour!