Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Apple new feature of OS X 10.8 in new Macs "Power Nap" checks email and does make backups.

Is it possible to execute a custom script (bash, AppleScript,...) when OS X 10.8 is in Power nap mode? For example pull a git repository or download files.

share|improve this question
up vote 3 down vote accepted

As far as I know, it's not possible.

The reason is that Power Nap doesn't have an API that 3rd party apps can hook into (so apps could trigger a wake event or be notified when one occurs).

Whether this will remain like that in the future depends upon Apple. It would be interesting to see if there's a simple way to detect when one is in power nap mode, but doesn't seem to be available afaik.

If you leave a script that pulls from git every minute, in theory, since Power Nap is really a power on without graphics and audio state, maybe it would get executed (if it was running before). untested.

More info:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.