Re: Startup, shutdown
Re: Startup, shutdown
- Subject: Re: Startup, shutdown
- From: "Marc K. Myers" <email@hidden>
- Date: Tue, 22 Nov 2005 01:21:12 -0500
on 22/11/05 00:03 Marin Orpen wrote:
on 21/11/05 23:38, Marc K. Myers at email@hidden wrote:
> The System Preferences' energy saver pane allows you to schedule a
cold
> start, so I assume that there is some underlying Unix utility that
> supports it. I just can't find it. It does prove that a shut down
> computer can, somehow, restart itself.
man pmset
"pmset allows you to schedule system sleep, shutdown, wakeup and/or
power on. "schedule" is for setting up one-time power events, and
"repeat" is for setting up daily/weekly power on and power off
events."
That's looks great but I can't get it to work. I'm running OS 10.3.9.
When I attempt to use the "schedule" or "repeat" parameters the result
is a listing of the command's syntax. Is there some trick here I'm not
getting? I used the command with "sudo" and tried it as root. I got
the same result either way.
[marcs-ibook:~] marc% sudo pmset schedule shutdown '11/22/05 08:00:00'
Password:
Usage: pmset [-b | -c | -u | -a] <action> <minutes> [<action>
<minutes>...]
pmset -g [disk | cap | live | sched | ups]
-c adjust settings used while connected to a charger
-b adjust settings used when running off a battery
-u adjust settings used while running off a UPS
-a (default) adjust settings for both
<action> is one of: dim, sleep, spindown (with a minutes
argument)
or: reduce, dps, womp, ring, autorestart, powerbutton,
lidwake, acwake, ams (with a 1 or 0 argument)
or for UPS only: haltlevel (with a percentage argument)
haltafter, haltremain (with a minutes argument)
eg. pmset -c dim 5 sleep 15 spindown 10 autorestart 1 womp 1
[marcs-ibook:~] marc%
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden