Kim Hunter set up his mini as a wake up alarm clock. In energy saver he set a wake up schedule to wake the mac from sleep a little before the desired time. There is a flag file needed so that the script wont run all the time you will have to set it at night and the flag file allows for ssh access to stop itunes from playing when the script next runs.
Source >>