home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / BBS / OPUS / ARKALOG.ZIP / ARKALOG.DOC < prev    next >
Encoding:
Text File  |  1991-05-11  |  1.8 KB  |  41 lines

  1. Test ARKALOG from the command line before you use it to make sure
  2. it works the way you expect it to.  -kef/MM-
  3.  
  4.  
  5. /*******************************************************************/
  6. /* ARKALOG - Create a weekly name/dated archive of your log file   */
  7. /* based upon the last two digits of the year and week number of   */
  8. /* that year.  It does not delete the log file.  You may do that   */
  9. /* in your in a batch file based upon the exit ERRORLEVEL.         */
  10. /*                                                                 */
  11. /* Created 01-MAY-91 by Keith Ford.                                */
  12. /*                                                                 */
  13. /*   Micro Magic BBS       Phone:  +1 205 830 2362                 */
  14. /*   203 Creek Trail       Fido:   1:373/12                        */
  15. /*   Madison, AL 35758     Usenet: sysop@umagic.fidonet.org        */
  16. /*                                                                 */
  17. /* This file is being placed into the public domain.  If you make  */
  18. /* interesting or useful enhancements, the author would like to    */
  19. /* know about them.                                                */
  20. /*******************************************************************/
  21.  
  22.   
  23.   Usage: ARKALOG DAY "COMMAND"
  24.   
  25.     DAY is the day of week to execute "COMMAND"
  26.     [SUN, MON, TUE, WED, THU, FRI, SAT]
  27.   
  28.     "COMMAND" is a quoted archive command string.
  29.     A 4 digit date code of YYWW will replace #### as it appears
  30.     in the command string.  YY = last two digits of the year,
  31.     WW = week number where 01 = week of January 1st.
  32.   
  33.   Examples: arkalog mon "lharc a olog#### opus.log"
  34.             ARKALOG Tue "Pkzip -a C:\Save\LOG_#### D:\Bbs\Bbs.Log"
  35.   
  36.   Exit ERRORLEVELs:
  37.      0 - completed successfully
  38.      1 - not the specified day of the week
  39.      2 - command not done due to error
  40.  
  41.