home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / ra / ramaint.zip / SAMPLE.CFG < prev   
Text File  |  1994-02-05  |  4KB  |  116 lines

  1. SERIAL 0000000000
  2. ;
  3. ;This is a comment line .... it may be ignored...
  4. ;
  5. ;This is the path/file for the log 
  6. ;LOG c:\ra\callers.log
  7. ;
  8. ;Use the following IN PLACE OF the above to prevent utilities
  9. ;called by RAMAINT from writing to the log file. Only the report
  10. ;generated by RAMAINT will be placed in the log.
  11. ;If you use this option, split the log to ystdy.log and oldlog.log
  12. ;in the batch file BEFORE calling RAMAINT... the named log does NOT
  13. ;exist while RAMAINT is running!
  14. CLEANLOG c:\ra\callers.log
  15. ;
  16. ;Tell RAMAINT to run only one time in a system clock day
  17. ;in case it is called accidentally
  18. ONCE
  19. ;
  20. ;The above line tells the system to execute only once per
  21. ;system clock day... 
  22. ;
  23. ;Backup users files everyday
  24. ;The DOS keyword is necessary to run dos commands from RAMAINT
  25. 00 DOS copy c:\ra\msgbase\users.bbs d:\backup
  26. 00 DOS copy c:\ra\msgbase\usersidx.bbs d:\backup
  27. 00 DOS copy c:\ra\msgbase\usersxi.bbs d:\backup
  28. ;
  29. ;First day of the month - delete giant log to save disk-space
  30. ;and timelog.bbs so time graph is current in RA
  31. 01 DOS del c:\ra\oldlog.log
  32. 01 DOS del c:\ra\timelog.bbs
  33. ;
  34. ;All spawned programs MUST include complete paths/filename and EXT!!
  35. ;If it does not include an EXT it won't run!!
  36. ;
  37. ;Stuff we want to test to see if it works properly in the RAMAINT
  38. ;environment.... TEST replaces the date/day keyword.
  39. ;TEST c:\ra\test.bat /param1 /y /foobfile
  40. ;
  41. ;The TEST mode allows you to run RAMAINT without executing programs
  42. ;other than the test program. This allows you to tweak command lines
  43. ;to be sure it will function when it runs by itself in the middle of
  44. ;the night. The ONCE param is ignored. You may TEST as much as you wish.
  45. ;In test mode log writes are NOT performed... keep it clean.
  46. ;A log file called RAMAINT.TMP is generated as is RAMAINT.ERR in the 
  47. ;event of an error.
  48. ;
  49. ;We do the nodediff file on Sunday nite as it can come in Sat or Sun
  50. MON c:\ra\nodefix.bat
  51. ;
  52. ;Sunday we do game maintenance
  53. SUN c:\ra\bandit\tbmaint.exe
  54. SUN c:\ra\bj\bj maint.exe
  55. SUN c:\ra\timebank\igame10.exe /P
  56. ;
  57. ;Stuff we have to do everyday - will be processed in the order 
  58. ;they are listed. You may use 00 as the date or keyword DAILY.
  59. ;Either will execute everyday.
  60. test sys d:\c600\ramaint\test.bat /test
  61. 00 c:\ra\arrlbull.bat
  62. 00 sys c:\ra\fmail\ftools.exe maint /d /n /p
  63. 00 c:\ra\rafile.exe import
  64. 00 c:\ra\rafile.exe update *.*
  65. 00 c:\ra\rafile.exe clean /km
  66. 00 c:\ra\rafile.exe sort
  67. 00 c:\ra\rafile.exe export
  68. 00 c:\ra\rafile.exe filelist c:\local\280-19.lst /S20 /Bc:\ra\gather.hdr
  69. 00 c:\ra\rafile.exe filelist c:\local\280-19.new /S20 /D30 /Bc:\ra\gather.hdr
  70. 00 c:\dos\ARJ.EXE m -e -f c:\local\hs-files.arj c:\local\280-19.lst
  71. 00 c:\dos\ARJ.EXE m -e -f c:\local\hs-new.arj c:\local\280-19.new
  72. 00 c:\ra\rafile.exe hs-*.arj 90 touchmod
  73. 00 c:\ra\rauser.exe -d7 -m10 -v
  74. 00 c:\ra\rauser.exe -d120 -m25 -v
  75. 00 c:\ra\rauser.exe -s
  76. 00 c:\ra\rabday.exe
  77. ;
  78. ;Stuff we do if a file exists on the 15th of the month
  79. ;15 ifexist c:\ra\test.bat
  80. ;c:\ra\test.bat
  81. ;endif
  82. ;
  83. ;Stuff we do if a file does NOT exist on the 12th of the month
  84. ;12 ifnotexist c:\ra\test.bat
  85. ;c:\ra\util\makebat.exe /test /loop
  86. ;endif
  87. ;Any number of program calls can go between the if and the endif
  88. ;no date is used on the program calls between the if and the endif
  89. ;WILDCARDS will NOT work in the if statements. See TOUCH.
  90. ;
  91. ;
  92. ;Do the onceonly.A?? files to make it look like the sysop cares
  93. ;enough to actually do something on this board
  94. SAT DOS copy c:\ra\txtfiles\lastday.* c:\ra\txtfiles\onceonly.*
  95. ;Dos can handle the wildcard correctly
  96. ;Touch is an internal command and must have an explicit filename
  97. ;Sorry, but to make this thing small enough to let ANYTHING run
  98. ;it was necessary to make some trade-offs
  99. SAT TOUCH c:\ra\txtfiles\onceonly.ans
  100. SAT TOUCH c:\ra\txtfiles\onceonly.asc
  101. SUN DOS copy c:\ra\txtfiles\newtourn.* c:\ra\txtfiles\onceonly.*
  102. SUN TOUCH c:\ra\txtfiles\onceonly.ans
  103. SUN TOUCH c:\ra\txtfiles\onceonly.asc
  104. MON DOS copy c:\ra\txtfiles\oncetext.* c:\ra\txtfiles\onceonly.*
  105. MON TOUCH c:\ra\txtfiles\onceonly.ans
  106. MON TOUCH c:\ra\txtfiles\onceonly.asc
  107. ;
  108. ;Touch sets the specified file date and time to current system values
  109. ;
  110. ;
  111. ;Boot the computer when all has been done. This keyword may appear
  112. ;anywhere in the file and will operate only after all else is done.
  113. ;If you screw up and leave a disk in drive A: that would cause the
  114. ;boot to fail this operation will be ignored.
  115. ;BOOT
  116.