home *** CD-ROM | disk | FTP | other *** search
- Test ARKALOG from the command line before you use it to make sure
- it works the way you expect it to. -kef/MM-
-
-
- /*******************************************************************/
- /* ARKALOG - Create a weekly name/dated archive of your log file */
- /* based upon the last two digits of the year and week number of */
- /* that year. It does not delete the log file. You may do that */
- /* in your in a batch file based upon the exit ERRORLEVEL. */
- /* */
- /* Created 01-MAY-91 by Keith Ford. */
- /* */
- /* Micro Magic BBS Phone: +1 205 830 2362 */
- /* 203 Creek Trail Fido: 1:373/12 */
- /* Madison, AL 35758 Usenet: sysop@umagic.fidonet.org */
- /* */
- /* This file is being placed into the public domain. If you make */
- /* interesting or useful enhancements, the author would like to */
- /* know about them. */
- /*******************************************************************/
-
-
- Usage: ARKALOG DAY "COMMAND"
-
- DAY is the day of week to execute "COMMAND"
- [SUN, MON, TUE, WED, THU, FRI, SAT]
-
- "COMMAND" is a quoted archive command string.
- A 4 digit date code of YYWW will replace #### as it appears
- in the command string. YY = last two digits of the year,
- WW = week number where 01 = week of January 1st.
-
- Examples: arkalog mon "lharc a olog#### opus.log"
- ARKALOG Tue "Pkzip -a C:\Save\LOG_#### D:\Bbs\Bbs.Log"
-
- Exit ERRORLEVELs:
- 0 - completed successfully
- 1 - not the specified day of the week
- 2 - command not done due to error
-
-