home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 296.lha / DST_v1.05 / dst.atomclock < prev    next >
Text File  |  1989-10-09  |  1KB  |  30 lines

  1. ; Use this script to execute the atomclock program and insure that your
  2. ; system clock is always set for the proper time (standard or daylight)
  3. ; time by also running dst/
  4.  
  5.  
  6. cls   ; I'm not sure where this "clear" command came from, I think it was
  7.       ; public domain and downloaded from somewhere
  8.  
  9. echo "*n*n                               Atomic Clock v1.0"
  10. echo "*n*n                          This program will dial the"
  11. echo "                   U.S. Naval Observatory in Washington DC,"
  12. echo "          read the 1200 baud time signal their atomic clock generates,"
  13. echo "                  and set the Amiga system clock accordingly."
  14. echo "*n                       Long Distance charges will apply.*n*n"
  15. ask "                         Do you want to proceed?  (y/n)" 
  16.    if warn
  17.    stack 10000
  18.    atomclock z/MST ; sets mountain standard time (MST)
  19.                    ; Always choose STANDARD time for your area.
  20.    rtclock -w ; reads the system clock into the battery clock
  21.               ; this command is for "insider", you may need
  22.               ; a different command like "setclock save".
  23.    dst f      ; "dst f" correct the system clock if it's DST.
  24.               ; Note the "f" option, this is necesary to force the dst
  25.               ; evaluation if dst has already been executed for this
  26.               ; boot.  (dst should have been executed in your startup-sequence.
  27.    endif
  28.  
  29.  
  30.