Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm creating a kiosk. Would like it to sleep at night and wake in the morning. I know about auto sleep in System Preferences > Energy Saver.

Trouble is, the Mac puts up a dialog box before sleeping saying that the system will sleep in 2 minutes and giving the user a chance to Cancel or Sleep. We don't want that to appear. Any way to disable this warning box?

share|improve this question

1 Answer 1

And, the answer is...

You have to write an AppleScript and then have a program like CronniX trigger it.

Thanks to Dave at the Mac Geek Gab!

share|improve this answer
What's the script? Could you tell us what you did to accomplish such a task? –  Simon Sheehan Nov 12 '11 at 0:51

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.