[geeks] Alarms, or why I hate computers

Will Mc Donald wmcdonald at ntlworld.com
Tue Jun 24 04:43:11 CDT 2003


From: "Hugh Saunders" <hugh at mjr.org>
> On Tue, Jun 24, 2003 at 12:15:31AM -0500, Jonathan C. Patschke wrote:
> > ~/bin/wakeup.sh:
> >
> >    #!/bin/ksh
> >    if ["$2" = ""]; then
> >      echo "Usage: wakeup.sh hours minutes"
> >      exit
> >    fi
> >
> >    sleep $(((3600*$1)+(60*$2)))
> >    wakeup.sh
> >
> > wakeup.sh tells iTunes to start playing
>
> by voodoo?

A quick Google threw up...

http://www.macosxhints.com/article.php?story=20011108211802830

Will.



More information about the geeks mailing list