[geeks] Alarms, or why I hate computers
Hugh Saunders
hugh at mjr.org
Tue Jun 24 04:53:33 CDT 2003
On Tue, Jun 24, 2003 at 10:43:11AM +0100, Will Mc Donald wrote:
> 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
interesting link.. but the above code doesnt do anything with itunes!!
still think if that script starts something playing, sacrificing a
3-legged cow would be required first.
--
hugh
More information about the geeks
mailing list