LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cant wakeup pc when linux does a shutdown command (https://www.linuxquestions.org/questions/linux-newbie-8/cant-wakeup-pc-when-linux-does-a-shutdown-command-652305/)

mrgreaper 06-28-2008 05:40 PM

cant wakeup pc when linux does a shutdown command
 
i have a cron job that shutsdown my linux box at 1000
i need it to reboot at 2100
so i set a wake up alarm in the bios

now if i shutdown the pc then the wakeup alarm works

but if i let linux issue the shutdown command it decides to have a lay in and wont wake up

all i can think is when i do it manualy maybe its a soft powerdown and places the pc in a standby mode but the shutdown command must be doing a hard power off if that makes sense.

so the question is how do i tell my linux box to shutdown at 1000 as if i was at it or make shutdown to a standby, hell having it hibernate at 1000 and wake at 2100

amani 06-28-2008 05:48 PM

shutdown has different options.

#shutdown -H +1000

will halt (not poweroff) after 1000 min

mrgreaper 06-28-2008 06:31 PM

Quote:

Originally Posted by amani (Post 3198005)
shutdown has different options.

#shutdown -H +1000

will halt (not poweroff) after 1000 min

will try that when i get home thankyou

what does halt actualy do?

mrgreaper 06-28-2008 10:10 PM

seems it was already a -h so have changed it to a -p will post how it goes at 2200 hours ish 2morro

just realised it was -h not -H damn linux and its case sensitive commands lol

changed it to -H

mrgreaper 06-30-2008 12:55 PM

didnt work, the pc didnt shutdowwn just droped to a terminal

as i have said if i shutdown in the menu the bioss wake on alarm works

so is tthere a script thatwill shut it down like that

in this heat the pc has to shut down at 10am and i need it on at 2100 is linux simply incapable of doing this?

mrgreaper 07-01-2008 12:45 PM

still cant find how to do this is it impossible


All times are GMT -5. The time now is 08:19 PM.