Nice! I tried something similar but couldn't figure out how to get cron to wake a mac from suspend state, how'd you pull that off (or is the mac just on the whole time?)?
On Tue, Jan 11, 2011 at 3:13 PM, Peter Jones <[email protected]> wrote: > "ara.t.howard" <[email protected]> writes: >>> - You have some nerdy script running from cron that saves you 10 >>> seconds a day off some task >> >> i'm not applying, but had to share mine! > > Since we're sharing, this diddy: > > 30 06 * * 1-5 osascript > $HOME/Develop/pmade/rc/macosx/scripts/iTunes/wake-up.applescript > > Kicks off an applescript, which: > > 1. Runs a shell script that pulls down the wunder.com weather XML and > converts it to an audio file using say(1). > > 2. Tells iTunes to switch to the remote AirPlay speakers in my > bedroom. Sets the volume to 0, starts an ambient playlist, and > gradually increases the volume over the next 5 minutes. > > 3. Plays a wake-up message and the weather forecast for the day. > > 4. Switches to a SomaFM radio station. > > A.K.A.: super nerdy alarm clock. > > -- > Peter Jones - pmade inc. > 303-219-0226 http://pmade.com > _______________________________________________ > Bdrg-members mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/bdrg-members > _______________________________________________ Bdrg-members mailing list [email protected] http://rubyforge.org/mailman/listinfo/bdrg-members
