home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
g
/
gaplock.zip
/
GAPLOCK.DOC
< prev
next >
Wrap
Text File
|
1993-03-21
|
5KB
|
125 lines
═══════════════════════════════════════════════════════════════════════════
GAPLOCK Release 1.0
Multi-Node BBS Event Utility!
Written by:
Jerry Liddle
119 Edward Drive
Swedesboro, New Jersey 08085
The Beckett BBS
(609) 467-3898 USR 14.4 Dual Standard
(609) 467-8612 USR 16.8 Dual Standard
(609) 467-0515 14.4 Boca V.32bis
═══════════════════════════════════════════════════════════════════════════
Warranty
This product is provided "as is" without warranty of any kind. The entire
risk as to the results and performance of the program is assumed by you.
Futhermore, the author does not warrant, guarantee, or make any other
representations regarding the use of, or the results of the use of the
program, and you rely on the program and results solely at your own
risk. The author cannot and will not accept responsibility for system
damage, loss of profit, or any other special, consequential or incidental
damages resulting from the use or inability to use this product.
Overview of GAPLOCK
──────────────────────────────────────────────────────────────────────────
Since I run a multi-node BBS, and have events that require all nodes
to be down, I wrote GAPLOCK to keep the other nodes busy while one was
performing board maintenance.
Command Line Parameters for GAPLOCK are:
GAPLOCK [Flag] [Path] [Delay] {BBS Name}
Items in [] are required. Items in {} are optional.
Valid entries for [Flag] : LOCK (sets a LOCK condition)
UNLOCK (clears a LOCK condition)
CHECK (checks for a LOCK condition)
Valid entries for [Path] : Any valid DOS path on your system.
GAPLOCK creates a data file called
GAPLOCK.DAT. This file will contain
either one of two words (LOCK or UNLOCK)
GAPLOCK.DAT will be created where you
specify in the Path parameter.
Valid entries for [Delay] : Number of second to have GAPLOCK delay
before starting to check for a LOCK
condition. You must enter a 0 (zero) in
the Delay parameter when Flag is LOCK or
UNLOCK.
Optional entry for BBS Name : Just out of my own vanity, I have my
BBS name displayed on the delay screen
if a delay is set. To display a BBS Name,
type it on the command line after the Delay
time when the Flag Check is used. You can
enter up to four words each separated by a
space. As a matter of fact, all parameters
must be separated by a space, and naturally
don't include the brackets.
EXAMPLE:
FIRST:
This is the way that I use GAPLOCK. On the node that will be doing the
actual maintenance, insert the following as the first line in your
EVENT.BAT file.
GAPLOCK lock f:\work 0
This will create the GAPLOCK.DAT file on f:\work, and it will contain
the word LOCK.
The last line in the EVENT.BAT file should contain the following.
GAPLOCK unlock f:\work 0
This will remove the LOCK condition in GAPLOCK.DAT
SECOND:
In each of my other nodes's EVENT.BAT files I have the following as the
only command for that that event.
GAPLOCK check f:\work 300 The Beckett BBS
When this event is executed, GAPLOCK waits for 5 minutes (just incase
the node performing maintenance didn't get started on time. After 5 minutes
GAPLOCK will begin checking f:\work\gaplock.dat for a LOCK condition.
GAPLOCK will continue checking GAPLOCK.DAT every 5 seconds until the LOCK
condition is removed by the node performing maintenance.
Files needed for GAPLOCK Operation
The only file needed for GAPLOCK to operate is GAPLOCK.EXE
It creates it's own data file.
One other note:
The Delay screen can be aborted by pressing Any Key.
GAPLOCK can be aborted by pressing the ESC Key
GAPLOCK can be tested from the command line, if you want to see
how it works...
──────────────────────────────────────────────────────────────────────────
If you have any doubt about the integrity of the files contained in this
Archive, feel free to call my BBS in Swedesboro, New Jersey and download
the latest version. The Beckett BBS, (609)467-3898/8612/0515
Registration - Support the Shareware Concept...
──────────────────────────────────────────────────────────────────────────
GAPPLOCK is not crippled in any way. If you find it useful, I would
gladly accept a donation. Whatever you feel it is worth...
Thanks for your support!