LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-01-2005, 11:40 AM   #1
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Rep: Reputation: 54
delayed poweroff


How can I do a delayed poweroff in linux sort of like the shutdown command? But I want it to actually poweroff and not just halt.

If it's not possible, how can I send a broadcast message the same way the shutdown command does? Since I could just have a sleep loop do it, and use the shut down command after. It's for a backup server that only turns on when needed and shuts off when the job is done, but I want the delay to enable me to do something if I decide to and the alerts to remind me it's shutting down so I can cancel the shutdown if needed.
 
Old 09-01-2005, 11:44 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Have a look at "man shutdown" - that will tell you all you need to know.
 
  


Reply



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
java delayed... TheCrizu Mandriva 1 09-24-2005 01:04 PM
Delayed ACK Z-Ice Linux - Networking 4 05-24-2004 03:46 PM
Delayed ACK Z-Ice Mandriva 0 05-23-2004 09:39 PM
Qmail delayed problems [o]-Frozen Linux - Newbie 1 11-19-2003 05:12 AM
Pentium 4 delayed jeremy General 0 09-29-2000 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:42 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
Open Source Consulting | Domain Registration