home *** CD-ROM | disk | FTP | other *** search
/ Frostbyte's 1980s DOS Shareware Collection / floppyshareware.zip / floppyshareware / GLEN / 1ADAY-20.ZIP / 1ADAY.DOC < prev   
Text File  |  1991-07-22  |  3KB  |  87 lines

  1.                                                     July 21, 1991
  2.  
  3.                             1ADAY.COM
  4.                      Daily Event Controller
  5.                            Version 2.0
  6.                            (Shareware)
  7.  
  8.      The idea for 1ADAY.COM came from the July, 1991 PCComputing
  9. DOS column titled "Get Your PC Chores Done Once a Day, Every Day"
  10. which outlined a method to trick a batch file into running a task
  11. just once a day. The method involved creating three batch files
  12. and a special directory, something I thought could be programmed
  13. much more elegantly in C than in DOS's batch language. 1ADAY.COM
  14. doesn't use any batch files, no pesky zero-length files to hold
  15. information, no special directories, or does it require any
  16. expertise from you other than the ability to modify your
  17. AUTOEXEC.BAT file slightly.
  18.  
  19.      I like to run CHKDSK once a day on Computasaurus, my old,
  20. steam-powered XT clone. But CHKDSK got a little time consuming
  21. every time I rebooted, which could be several times a day. Now I
  22. have added this line to AUTOEXEC.BAT:
  23.  
  24.                          1ADAY CHKDSK/F
  25.  
  26.      1ADAY finds the system's current date and compares it to
  27. it's own file date. If they are different, 1ADAY then runs CHKDSK
  28. and then modifies the file date. 
  29.  
  30.      If you run more than one file once a day, say CHKDSK and a
  31. virus scan, 1ADAY (V 2.0) will accept multiple arguments on the
  32. command line:
  33.  
  34.                 1ADAY CHKDSK/F A:\DOS\VIRUSHIELD
  35.  
  36. In fact, 1ADAY will run as many programs that you can squeeze on
  37. to the command line (each argument separated by a space). If this
  38. isn't enough then you can list all of the programs you need in a
  39. batch file and call the batch file from 1ADAY.
  40.  
  41.      On the first boot of the day, you will see a copyright
  42. message followed by
  43.  
  44.             ---- Running [PROGRAM] from 1ADAY.COM ---
  45.  
  46. This message will be repeated before each program you have listed
  47. on the command line is executed.
  48.  
  49.      On subsequent boots, you will see the copyright message
  50. followed by
  51.  
  52.           ---- Same day reboot. Skipping [PROGRAM 1] ----
  53.           ----                  Skipping [PROGRAM 2] ----
  54.  
  55. and so on through the list of programs you use once a day. Then
  56. the next event in your AUTOEXEC.BAT file is executed.
  57.  
  58.      A cautionary note: DO NOT CHANGE THE NAME! A rose by any
  59. other name would smell just as sweet, but 1ADAY.COM just won't
  60. work if you change the name.
  61.  
  62.      Another cautionary note: 1ADAY.COM expects to find itself in
  63. the same directory as AUTOEXEC.BAT.
  64.  
  65.      And a couple of notes on 1ADAY.COM's idiosyncrasies: If your
  66. session at the PC runs after midnight and you reboot, 1ADAY.COM
  67. will notice the date change and do it's daily "thing". 1ADAY.COM
  68. only checks the current day, so if you only use your PC once a
  69. month on the same day, this will be treated as a same-day reboot.
  70.  
  71. If you experience any problems or have any suggestions for
  72. improvements, please let me know. I can be reached on:
  73.  
  74.                       CompuServe 73537,643
  75.                          GEnie   CWWHITE
  76.  
  77. or much more slowly by mail at the address below.
  78.  
  79. 1ADAY.COM is shareware. If you use 1ADAY.COM please send $10.00
  80. to:
  81.  
  82.                            Chris White
  83.                       5412 Wallingford Arch
  84.                     Virginia Beach, VA 23464
  85.  
  86. 1ADAY.COM Copyright (c) Chris White 1991. All rights reserved.
  87.