224 Reference
SCHEDULED DISK OPTIMIZATION
The following section describes the procedure for setting up a scheduled event to run the Caldera
®
DR-DOS
®
disk optimization tools on the Telecor Voice Server (TVS) hard disk.
Warning! The Caldera DR-DOS chkdsk and diskopt commands replace Microsoft
®
ScanDisk
and Microsoft
®
Defragmenter used with VS1 Software 2.7.14a and earlier. Do not use
ScanDisk or Defragmenter with a TVS running DR-DOS. ScanDisk or Defragmenter
may corrupt Telecor Voice Servers running DR-DOS.
1. If needed, create a batch file named user.bat in the c:\ops directory. Add the following
lines to the end of the file in the order shown.
if exist c:\temp.dat chkdsk /f /b
if exist c:\temp.dat diskopt /o /m1
if exist c:\temp.dat del c:\temp.dat
2. Use the dskmaint.cmd in the c:\ops\cfg directory. It should contain the following
commands:
copy c:\ops\cfg\system.dat c:\temp.dat
shutdown 0
3. Create a second command script named night.cmd in the c:\ops\cfg directory
containing the following command:
cload night.cfg
4. Create a scheduled event for the dskmaint.cmd at 1:00 a.m. Monday morning (or whenever
you want the optimization to run).
5. Create a scheduled event for night.cmd to run 1 minute after dskmaint.cmd (for example
1:01 a.m.).
• This is important because it enables the system to reload the night configuration, and then
return to normal operation.