Originally posted by: sourceninja
Originally posted by: mugs
You could google up crontab and use it to start the application from the command line. For instance you could start iTunes from the command line like so:
/Applications/iTunes.app/Contents/MacOS/iTunes &
Not sure if there are any downsides to this approach
Rather then call the app directly, I'd probably use applescript to allow me to do more then just start the app if I so desired.
I'd make a file per app (probably in a folder dedicated for this)
Itunes example
tell application "iTunes"
activate
end tell
You can now launch this one of two ways. If you always stay logged in, then iCal is the best choice. You can schedule apps to launch at times via iCal. But if you want the app to run even when you are not logged int, then cron is the way to go.
Inside terminal.app you type crontab -e and place in the script (with some formating to specify exactly when).
example:
30 6 * * 1-5 /Users/username/myscripts/openitunes.scpt
(This runs that script at 6:30am, any day, any month, and long as that day is monday-friday)
or you can make it easier by using a osx gui tool for cron such as Cronnix.
By using applescript, you could actually automate this process even further. Such as automatically starting a song you like, or opening a series of webpages.
example
tell application "iTunes"
activate
set the sound volume to 75
play playlist "Blues"
end tell