cron alarm clock


i have my crontab set up to wake me up every morning by playing a song in iTunes. the only problem is i have to manually set which song i want it to play every night. is there any way that i can get cron to randomly pick a file to play from a list i have generated, such as read a file and pick one? if so, could someone please fill me in on how to do this. thanks.


You could do it by invoking an iTunes Apple Script over CRON, I know that this is possible, but I never did it.