home *** CD-ROM | disk | FTP | other *** search
/ Nebula / nebula.bin / Audio / Score / Hours / README < prev   
Text File  |  1993-08-08  |  2KB  |  40 lines

  1. Greetings fellow NeXT Users:
  2.  
  3. I have a funky old wall clock that used to belong to a great
  4. aunt of mine.  It has a great tick-tock-tick-tock- sound; I only
  5. have to wind it once a week or so and it almost keeps perfect time.
  6. The only trouble is, it *looks* as though it should have some sort
  7. of bell or gong or something inside of it to mark the hours. Alas,
  8. there is no such bell.  What to do?
  9.  
  10. As it turns out, there are a number of black objects sitting on a
  11. desk nearby said clock.  (These black objects all have "NeXT" written
  12. on them.)  I was learning about scores and scorefiles, and looking
  13. at the example scorefiles and well ... the result was this stuff
  14. that I am submitting to the archives.
  15.  
  16. What does it do?  It makes up for the deficiency in my great aunt's
  17. clock by chiming the hours on the hour.  The file 'hourly' is a UNIX
  18. shell script which should be executed every hour on the hour.  The
  19. script determines what hour it is, and plays the scorefile in the
  20. subdirectory ./chimes which contains the correct number of bells
  21. for the hour.  
  22.  
  23. I recommend that you unpack this little tarfile in the directory
  24. /usr/adm.  Then you should add a line
  25. to your /etc/crontab file that runs something like:
  26.  
  27. 0 * * * *     root     /bin/sh /usr/adm/hours/hourly <CR>
  28.  
  29. If you do so, cron will run the shell script automatically every hour.  
  30. I have the script set so that no chimes will ring between 1-6 am; you 
  31. may modify it according to your taste.
  32.  
  33. I hope you enjoy it. 
  34.  
  35. Written and submitted by:
  36.  
  37. Malcolm Sanders            (physicist at large)
  38. 2 Youngs Mountain Road
  39. Bar Harbor, Maine 04609
  40. mms@aretha.jax.org