home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
batutl
/
clockchk.arc
/
CLOCKCHK.DOC
< prev
Wrap
Text File
|
1989-03-14
|
5KB
|
121 lines
CLOCK CHECK Version 1.0
March 14, 1989
(C) Copyright 1989 Todd Bolitho & Martin Pollard
CLOCK CHECK Disclaimer:
CLOCK CHECK is provided "as is". We make no claim that it is
suitable for any particular purpose. It may, in fact, not work
at all. We use it on our BBS all the time, but we don't know
what it will do on your system, and we promise NOTHING, so tell
your lawyer not to bother!
CLOCK CHECK Raison D'Etre:
We run a very slick little "part time" BBS called WARP SPEED.
Since the computer is used for business during the day, and this
requires a nice menu system to run all the various applications
used, the menu call is in the AUTOEXEC.BAT file. The problem
was: When and if WARP SPEED should go down (i.e. - the user
hangs up the phone in the middle of a DSZ transfer), WATCHDOG [or
other similar program] would then take control of the system and
reboot it for us. This all works fine and dandy, but upon
rebooting, WARP SPEED would not come back online because the
system would boot to the main menu. Putting CLOCK CHECK in the
AUTOEXEC.BAT file right before the menu call allows the computer
to look at the system time, and then make a decision whether or
not to run the BBS or call the main menu. In either case
CLOCK CHECK does not remain in memory. It simply uses
COMMAND.COM to call the BBS program or quits with no action at
all, and returns control to the batch file which executes the
main menu.
The following AUTOEXEC.BAT provides an example:
@echo off
path c:\;c:\dos;d:\ut;d:\tc;e:\com\zip
prompt $p$g
print /d: Lpt1
SET TELIX=E:\COM\TELIX
SET DSZPORT=2
SET 2ZIP=E:\COM\ZIP
D:\UT\SPEEDUP\QUICKCRT/F
D:\UT\SPEEDUP\CED150
D:\UT\CARDFILE D:\FRIENDS
C:\CLOCKCHK
D:
CD\AAA
MENU
Paying for CLOCK CHECK:
This one is on us. There is no charge...
You also have our permission to share this with others.
DOS Version:
CLOCK CHECK runs with our MSDOS 3.3.
Using CLOCK CHECK:
CLOCK CHECK requires a simple configuration file to operate. The
first line of the file contains the filename that operates the
BBS. Line two contains the time that the board opens, and line
three contains board's closing time. The times specified must be
in military time format. In other words, 10pm becomes 22:00. Do
not include seconds in the time strings.
Sample CLOCK CHECK configuration file:
WARP - (The BBS batch file)
22:00 - (Time board opens)
06:00 - (Time board closes)
If you wish, you may use a simple ASCII text editor to alter the
supplied config file to call your board at the appropriate times.
Remember: CLOCK CHECK only operates when called on the command
line (for test purposes) or in a batch file. It will NOT auto-
matically turn on a BBS at the right time. It is only useful
during the rebooting of a system during the board's operating
hours. If you don't understand this, you should probably recon-
sider being a sysop...
Questions and comments may be left to the sysops of:
WARP SPEED
(313) 544-0405
10pm-6am.