LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-28-2008, 06:40 PM   #1
mrgreaper
Member
 
Registered: May 2006
Posts: 167

Rep: Reputation: 15
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
 
Old 06-28-2008, 06:48 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
shutdown has different options.

#shutdown -H +1000

will halt (not poweroff) after 1000 min
 
Old 06-28-2008, 07:31 PM   #3
mrgreaper
Member
 
Registered: May 2006
Posts: 167

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by amani View Post
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?
 
Old 06-28-2008, 11:10 PM   #4
mrgreaper
Member
 
Registered: May 2006
Posts: 167

Original Poster
Rep: Reputation: 15
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

Last edited by mrgreaper; 06-28-2008 at 11:13 PM.
 
Old 06-30-2008, 01:55 PM   #5
mrgreaper
Member
 
Registered: May 2006
Posts: 167

Original Poster
Rep: Reputation: 15
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?
 
Old 07-01-2008, 01:45 PM   #6
mrgreaper
Member
 
Registered: May 2006
Posts: 167

Original Poster
Rep: Reputation: 15
still cant find how to do this is it impossible
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what does the shutdown - c command do in linux? rojo2000r Linux - General 1 05-04-2007 11:25 AM
shutdown command DR.V Linux - Newbie 10 12-06-2005 05:40 AM
shell command to shutdown linux OS alix123 Programming 3 08-22-2005 09:17 AM
require sleep wakeup button working in linux as they work on my windows XP cranium2004 Linux - Newbie 1 03-11-2005 08:17 PM
require sleep wakeup button working in linux as they work on my windows XP cranium2004 Linux - Software 1 03-11-2005 01:23 AM


All times are GMT -5. The time now is 02:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration