home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
batch
/
intvl185.zip
/
INTERVAL.DOC
< prev
next >
Wrap
Text File
|
1993-05-31
|
6KB
|
187 lines
GENERAL NOTICE
This computer program is being distributed under the SHAREWARE concept.
This means that you are granted license to evaluate INTERVAL for a period
of THIRTY DAYS. Should you continue to use it beyond this time limit
registration IS required.
BENEFITS OF REGISTRATION
Upon registration you will receive the current version of this program
with all of the annoying `NAG' features removed. The registered version
has a smaller code and runs considerably faster than the shareware
version. DO NOT PANIC!!! This is a very inexpensive program to register.
See the included file REGISTER.ME! for complete details on registration.
WARRANTY
The author makes absolutely no warranties on this software. This software
is not even warranted to take up space on your disk!!! USE THIS SOFTWARE
AT YOUR OWN RISK!!!! The author is not responsible for any damages what
so ever!!!!
INTERVAL.DOC Copyright (C) 1993 by Samuel Kaplin Page 1
-------------------------------------------------------------------------------
PREFACE
INTERVAL is a DOS based program which will execute a DOS command or
program once during a user defined period of time (measured in days).
INTERVAL is not a TSR. It must be invoked from the command line or a
batch file every time you wish to use it. INTERVAL has a number of command
line options, each one must be defined before INTERVAL will run.
INTERVAL was initially created to run a time setting program. Because of
this most of the manipulation of the time and date happens after the
event is run. This is to ensure that the next scheduled event reflects
the updated time and date. The date handling routines will compensate
for just about any calendar oddity (leap years etc...) Even though
INTERVAL was created for time setting programs, It works admirably with
DOS commands and other programs.
INTERVAL.DOC Copyright (C) 1993 by Samuel Kaplin Page 2
-------------------------------------------------------------------------------
THE COMMAND LINE
INTERVAL d=[file] e=[y,n] a=[duration] i=[interval] l=[ne,nr,e,r] c=[command]
EXAMPLE:
INTERVAL d=c:\date.fil l=ne e=y a=5 i=10 c=del c:\dl\*.zip
This example will delete all files with the extension of `zip' once
every 10 days. It uses the file `c:\date.fil' to keep track of the last
time interval ran an event. INTERVAL is keeping logs only when an event
is run. The logs do not have a header on them. INTERVAL will give you 5
seconds to abort an event. Interval will also set an errorlevel upon
exiting.
COMMAND LINE PARAMETERS
PLEASE NOTE THAT ALL OPTIONS MUST BE SPECIFIED!!!!
d= datefile to use.
This option tells INTERVAL the datefile to use. If the datefile does
not exist INTERVAL will create it. The first line of the datefile
is the word `DATEFILE'. The second line is the date that the last event
was run.
e= enable or disable setting errorlevel upon exiting.
This feature is useful if INTERVAL is going to be used as part of a
batch file. The results are as follows.
n = disabled
y = enabled
errorlevel = 1 if the event is run.
errorlevel = 2 if the event is not run
errorlevel = 3 if the event is aborted by the user.
a= time delay in seconds for the user to abort an event.
This feature is a value from 0 to 59 seconds. A value of 0 will give
the user no option to abort the event. A value of 59 will give the
user 59 seconds to abort the event. The first time INTERVAL is run
it will not allow you to abort.
i= interval to run the event.
This feature is a value from 1 to 10,000. This is how often that you
want interval to run the event. The value is specified in days.
INTERVAL.DOC Copyright (C) 1993 by Samuel Kaplin Page 3
-------------------------------------------------------------------------------
c= command to execute.
This is the actual command that INTERVAL is to execute when it runs an
event.
l= select log status.
The log file will have the same filename as the datefile. The extension
will be LOG. As an example, if the datefile is named TIMESET.FIL the log
file will be called TIMESET.LOG. The log file will be in the same directory
as the datefile. The options which do not have a header on them were
included to facilitate merging log events from several different
logs into one master log. If you switch from an option with no header to an
option that has a header INTERVAL will not put a header on it. INTERVAL
only puts headers on new log files. The options are as follows.
N = no logs
R = logs every time INTERVAL is run.
E = logs only when an event is run.
NR = logs every time INTERVAL is run. No header on the log file.
NE = logs only when an event is run. No header on the log file.
SDN
REGISTRATION FOR INTERVAL 1.85
Please send payment to:
Samuel Kaplin
3520 West 32nd Street #214
Minneapolis, MN 55416-4529
NAME___________________________________PHONE_________________________________
ADDRESS______________________________________________________________________
CITY/STATE/ZIP/COUNTRY_______________________________________________________
[ ] Copies of INTERVAL @ $10.00 per copy.
[ ] Site licenses for INTERVAL @ $60.00 per facility.
[ ] Check here for a 3½ inch disk. @ $ 1.00 per copy.
Canadian orders please add $2.00 shipping and handling.
Foreign orders please add $10.00 shipping and handling.
All payments MUST be in United States dollars.
All checks must be drawn on a United States bank.
Payment by: [ ] Check [ ] Money Order TOTAL ENCLOSED________________
WHERE DID YOU OBTAIN INTERVAL?_______________________________________________
COMMENTS: