Download of iWannaSleep
iWannaSleepist a Sleep Timer for Mac. You can, also while iTunes is running, set up a specified time for your Mac to turn off (shut down), put it into hibernation, or simply turn off iTunesconly. You operate the timer via a knob.
Furthermore supports iWannaSleep also AppleScript, so that defined actions can be performed after the set time.