Except that this does not have the server restart after power is restored.
And could possibly cause the ups to go dry faster. What about having the
server go to sleep when the UPS hits 40-50% battery life left and send a
wake on lan packet to wake it up when power is restored? This I believe
would give similar functionality to what he is requesting. The sleeping
system should draw minimal power allowing the ups to keep it alive a lot
longer then if it was running.
Fred.
-----Original Message-----
From: Matt Rosenberg [mailto:email@hidden]
Sent: Tuesday, January 31, 2006 12:18 PM
To: Ed Pastore
Cc: Mac OS X Mac OS X Server
Subject: Re: re-powering G5 xserve after power failure...
On Jan 31, 2006, at 9:10 AM, Ed Pastore wrote:
> On Jan 31, 2006, at 11:17 AM, Charles Yeomans wrote:
>
>> Yes. SetStartupTimer exists but is unimplemented in Carbon, as is
>> most of the Power Manager. I think you'd have to root around in
>> Darwin to figure something out.
>
> But isn't that what controls the functionality of "Start up at x"
> in the Schedule tab of Energy Saver?
>
> The only problem with that function is that it can't repeat more
> than once a day. If it could repeat every 5 minutes, we'd
> effectively have a boot-after-polite-shutdown (within 5 minutes of
> power availability) function.
Maybe have cron use the 'pmset' command to delete the current
scheduled event and create a new one at (now + 6 minutes). If the job
runs every 5 minutes, you'll always have a startup event waiting.
Matt
============================================================================
=======
CONFIDENTIALITY NOTICE: This email and any files transmitted with it are
confidential and intended solely for the use of the individual or entity to
which they are addressed. If you are not the intended recipient, you may
not review, copy or distribute this message. If you have received this
email in error, please notify the sender immediately and delete the original
message. Neither the sender nor the company for which he or she works
accepts any liability for any damage caused by any virus transmitted by this
email.
============================================================================
=======
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden
This email sent to email@hidden