Hello,
I would like to set one of the following 1) shutdown now and restart at a given time, 2) shutdown (halt) and restart automatically when the next power with be back on (of course at the shutdown, the power will be on, it will be turned off for a couple of hours, and it will be backed).
Actually, this will be done more or less automatically if I do not do anything, except that the shutdown will be hard when the power will be turned off. It may be at risk. Option, can I turn the machine to sleep before the turn off the power?
Thank
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 | | Room# D114A ===========================================================================
On Wed, 15 Feb 2023 23:16:05 +0100 Patrick Dupre wrote:
Actually, this will be done more or less automatically if I do not do anything, except that the shutdown will be hard when the power will be turned off.
A lot of BIOS have settings for things like "boot at power on". You could shut down normally, then have an external timer that turns the power on. That should keep everything clean.
Actually, this will be done more or less automatically if I do not do anything, except that the shutdown will be hard when the power will be turned off.
A lot of BIOS have settings for things like "boot at power on". You could shut down normally, then have an external timer that turns the power on. That should keep everything clean.
Yes, I have the boot at power on set. I can shut down, But does it means that it will boot when the power will be back? I do not have a timer under my control. It has to be automatic (of course I could say restart at 12:00, but I have to say it at the shutdown)
On Wed, 15 Feb 2023 23:38:34 +0100 Patrick Dupre wrote:
But does it means that it will boot when the power will be back?
That's how it works on my systems (where it functions correctly - not all motherboards get it right). Sometimes this surprises me if I'm working on a system and plug it in, forgetting I had it set to boot on power up.
On Wed, 2023-02-15 at 23:38 +0100, Patrick Dupre wrote:
Yes, I have the boot at power on set. I can shut down, But does it means that it will boot when the power will be back?
Yes, if you set the BIOS that way. And you can test that easily.
I do not have a timer under my control. It has to be automatic (of course I could say restart at 12:00, but I have to say it at the shutdown)
Many BIOSs will also let you set a wake up time within them. It *may* also be possible for that time to be set from the OS (such as if you wanted to change it).
Remember that the hardware clock may be different from the system clock, running on UTC rather than local time (if it is, it is best left like that). You'd have to work out what UTC time represented your desired wake-up alarm clock time.
On Thu, 2023-02-16 at 09:36 +1030, Tim via users wrote:
Many BIOSs will also let you set a wake up time within them. It *may* also be possible for that time to be set from the OS (such as if you wanted to change it).
Remember that the hardware clock may be different from the system clock, running on UTC rather than local time (if it is, it is best left like that). You'd have to work out what UTC time represented your desired wake-up alarm clock time.
Look at the rtcwake command.