home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / kolekcje / stanisîaw_wësîawski / checkdate / checkdate.doc < prev    next >
Text File  |  1992-10-04  |  4KB  |  100 lines

  1.  
  2.                               CheckDate V1.100
  3.  
  4.  
  5.         COPYRIGHT
  6.  
  7.      CheckDate is declared as Freeware, so anybody may use it  without
  8.      any charge. You are welcome to give this program to your friends,
  9.      as long as you do not charge any money for  it.  All  rights  are
  10.      reserved, because I'll certainly publish a modified version in  a
  11.      local computer magazine.
  12.  
  13.  
  14.         WHAT IS IT ?
  15.  
  16.      CheckDate is a "real life utility". I wrote it after  my  machine
  17.      crashed and I worked several days with  a  date  in  2002,  which
  18.      caused some UUCP-Sites to crash. :-))
  19.  
  20.      This is prevented by CheckDate now. When started  for  the  first
  21.      time, CheckDate writes the current date to  disk.  From  now  on,
  22.      every time you start  CheckDate,  it  will  load  that  date  and
  23.      compare it with the current in your real-time-clock. If the dates
  24.      differ by more than a specific number  of  days,  CheckDate  will
  25.      alert you.
  26.  
  27.  
  28.         USAGE
  29.  
  30.      CheckDate recognizes the following parameters:
  31.  
  32.                    [Filename] [MaxDiff/N] [Install/S]
  33.  
  34.              Filename - This is an optional parameter, which specifies
  35.                         the path CheckDate saves the current date  to.
  36.                         If you leave out this one,  the  default  path
  37.                         ("ENVARC:CHECKDATE") will be used.
  38.  
  39.  
  40.               MaxDiff - Using this optional parameter, you can  change
  41.                         the number of days that CheckDate considers is
  42.                         a "normal" difference. Default is two days.
  43.  
  44.                         If the actual date is earlier  than  the  last
  45.                         saved one, CheckDate will  alert  you  in  any
  46.                         case.
  47.  
  48.  
  49.               Install - The usage of this keyword forces CheckDate  to
  50.                         overwrite the  last  saved  date  without  any
  51.                         checking. This could be used once a wrong date
  52.                         has been saved. To examine  the  stored  date,
  53.                         simply examine the datestamp of  the  datefile
  54.                         (the contents of the datefile can't  be  typed
  55.                         out).
  56.  
  57.  
  58.         INSTALLATION
  59.  
  60.      The best way is to call CheckDate in one's User-Startup file,  so
  61.      the date will be tested every time you boot your machine. (If you
  62.      do not use your Amiga very often, [Oh,  bad  guy!]  increase  the
  63.      maximum-day-difference!)
  64.  
  65.      Guys who don't boot their machine very often, like Sysops, should
  66.      elect another place to call CheckDate. Use  Cron  to  execute  it
  67.      every day or include it in a batchfile you run regularly.
  68.  
  69.      If the case appears and the date has  been  corrupted,  CheckDate
  70.      sets the WARN-Flag, so you can easily correct the  date  directly
  71.      in the batchfile.
  72.  
  73.    ;-------------- Cut here---------
  74.      [...]
  75.      CheckDate
  76.      If WARN
  77.      Date <* ?
  78.      SetClock SAVE
  79.      EndIf
  80.      [...]
  81.    ;-------------- Cut here---------
  82.  
  83.  
  84.         SYSTEM REQUIREMENTS
  85.  
  86.      CheckDate requires OS V2.04 or higher.
  87.  
  88.  
  89.         THE AUTHOR
  90.  
  91.      If you have any comments for me or just want to tell me that you
  92.      hate my program, don't hesitate to contact me on one of the
  93.      following addresses:
  94.  
  95.      Snail-Mail: Peter Simons      E-Mail: simons@peti.GUN.de (Usenet)
  96.                  Europaring 20             2:242/7.25       (FIDO-Net)
  97.                  D-5300 Bonn 1
  98.                  Germany            Voice: Tel. 0228 / 746061
  99.  
  100.