home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
ra
/
ramaint.zip
/
SAMPLE.CFG
< prev
Wrap
Text File
|
1994-02-05
|
4KB
|
116 lines
SERIAL 0000000000
;
;This is a comment line .... it may be ignored...
;
;This is the path/file for the log
;LOG c:\ra\callers.log
;
;Use the following IN PLACE OF the above to prevent utilities
;called by RAMAINT from writing to the log file. Only the report
;generated by RAMAINT will be placed in the log.
;If you use this option, split the log to ystdy.log and oldlog.log
;in the batch file BEFORE calling RAMAINT... the named log does NOT
;exist while RAMAINT is running!
CLEANLOG c:\ra\callers.log
;
;Tell RAMAINT to run only one time in a system clock day
;in case it is called accidentally
ONCE
;
;The above line tells the system to execute only once per
;system clock day...
;
;Backup users files everyday
;The DOS keyword is necessary to run dos commands from RAMAINT
00 DOS copy c:\ra\msgbase\users.bbs d:\backup
00 DOS copy c:\ra\msgbase\usersidx.bbs d:\backup
00 DOS copy c:\ra\msgbase\usersxi.bbs d:\backup
;
;First day of the month - delete giant log to save disk-space
;and timelog.bbs so time graph is current in RA
01 DOS del c:\ra\oldlog.log
01 DOS del c:\ra\timelog.bbs
;
;All spawned programs MUST include complete paths/filename and EXT!!
;If it does not include an EXT it won't run!!
;
;Stuff we want to test to see if it works properly in the RAMAINT
;environment.... TEST replaces the date/day keyword.
;TEST c:\ra\test.bat /param1 /y /foobfile
;
;The TEST mode allows you to run RAMAINT without executing programs
;other than the test program. This allows you to tweak command lines
;to be sure it will function when it runs by itself in the middle of
;the night. The ONCE param is ignored. You may TEST as much as you wish.
;In test mode log writes are NOT performed... keep it clean.
;A log file called RAMAINT.TMP is generated as is RAMAINT.ERR in the
;event of an error.
;
;We do the nodediff file on Sunday nite as it can come in Sat or Sun
MON c:\ra\nodefix.bat
;
;Sunday we do game maintenance
SUN c:\ra\bandit\tbmaint.exe
SUN c:\ra\bj\bj maint.exe
SUN c:\ra\timebank\igame10.exe /P
;
;Stuff we have to do everyday - will be processed in the order
;they are listed. You may use 00 as the date or keyword DAILY.
;Either will execute everyday.
test sys d:\c600\ramaint\test.bat /test
00 c:\ra\arrlbull.bat
00 sys c:\ra\fmail\ftools.exe maint /d /n /p
00 c:\ra\rafile.exe import
00 c:\ra\rafile.exe update *.*
00 c:\ra\rafile.exe clean /km
00 c:\ra\rafile.exe sort
00 c:\ra\rafile.exe export
00 c:\ra\rafile.exe filelist c:\local\280-19.lst /S20 /Bc:\ra\gather.hdr
00 c:\ra\rafile.exe filelist c:\local\280-19.new /S20 /D30 /Bc:\ra\gather.hdr
00 c:\dos\ARJ.EXE m -e -f c:\local\hs-files.arj c:\local\280-19.lst
00 c:\dos\ARJ.EXE m -e -f c:\local\hs-new.arj c:\local\280-19.new
00 c:\ra\rafile.exe hs-*.arj 90 touchmod
00 c:\ra\rauser.exe -d7 -m10 -v
00 c:\ra\rauser.exe -d120 -m25 -v
00 c:\ra\rauser.exe -s
00 c:\ra\rabday.exe
;
;Stuff we do if a file exists on the 15th of the month
;15 ifexist c:\ra\test.bat
;c:\ra\test.bat
;endif
;
;Stuff we do if a file does NOT exist on the 12th of the month
;12 ifnotexist c:\ra\test.bat
;c:\ra\util\makebat.exe /test /loop
;endif
;Any number of program calls can go between the if and the endif
;no date is used on the program calls between the if and the endif
;WILDCARDS will NOT work in the if statements. See TOUCH.
;
;
;Do the onceonly.A?? files to make it look like the sysop cares
;enough to actually do something on this board
SAT DOS copy c:\ra\txtfiles\lastday.* c:\ra\txtfiles\onceonly.*
;Dos can handle the wildcard correctly
;Touch is an internal command and must have an explicit filename
;Sorry, but to make this thing small enough to let ANYTHING run
;it was necessary to make some trade-offs
SAT TOUCH c:\ra\txtfiles\onceonly.ans
SAT TOUCH c:\ra\txtfiles\onceonly.asc
SUN DOS copy c:\ra\txtfiles\newtourn.* c:\ra\txtfiles\onceonly.*
SUN TOUCH c:\ra\txtfiles\onceonly.ans
SUN TOUCH c:\ra\txtfiles\onceonly.asc
MON DOS copy c:\ra\txtfiles\oncetext.* c:\ra\txtfiles\onceonly.*
MON TOUCH c:\ra\txtfiles\onceonly.ans
MON TOUCH c:\ra\txtfiles\onceonly.asc
;
;Touch sets the specified file date and time to current system values
;
;
;Boot the computer when all has been done. This keyword may appear
;anywhere in the file and will operate only after all else is done.
;If you screw up and leave a disk in drive A: that would cause the
;boot to fail this operation will be ignored.
;BOOT