Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: re-powering G5 xserve after power failure...




On Jan 31, 2006, at 10:17 AM, Matt Rosenberg wrote:

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.

That only works if your power comes on immediately. If power is down for a while....


David



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
References: 
 >re-powering G5 xserve after power failure... (From: The web guy <email@hidden>)
 >Re: re-powering G5 xserve after power failure... (From: John May <email@hidden>)
 >Re: re-powering G5 xserve after power failure... (From: Ed Pastore <email@hidden>)
 >Re: re-powering G5 xserve after power failure... (From: Ed Pastore <email@hidden>)
 >Re: re-powering G5 xserve after power failure... (From: Ed Pastore <email@hidden>)
 >Re: re-powering G5 xserve after power failure... (From: Charles Yeomans <email@hidden>)
 >Re: re-powering G5 xserve after power failure... (From: Ed Pastore <email@hidden>)
 >Re: re-powering G5 xserve after power failure... (From: Matt Rosenberg <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.