On Mon, Dec 15, 2003 at 10:05:22PM -0800, Dirk Ouellette wrote:
>
>Is there a way to set "shutdown -h" just like a timer?
>


Sure.  Shutdown accepts numeric arguments for time delays. E.g.

# shutdown -h +10 "going down for scheduled maintenance" # 10 minutes

# shutdown -h 23:00 "going down late"    # goes down at 11PM

Depending on your shell, you might want to background the
shutdown job to allow you to log off or do other deeds:

# shutdown -h +120 "going down in two hours" &

# lynx http://www.fark.com

-- 
"That time in Seattle... was a nightmare.  I came out of it dead broke,
without a house, without anything except a girlfriend and a knowledge of
UNIX."  "Well, that's something," Avi says.  "Normally those two are
mutually exclusive."                    --Neal Stephenson, "Cryptonomicon"
_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to