
Product:
Statit
Custom QC
Scheduling
You may schedule Statit to create reports automatically.
The reports may be sent to a file (which may
be read by a Web browser) or to a printer. This
is a good way to create reports which need to
be updated on a daily basis, and you may schedule
them to run at times of minimal computer use.
You may use the Microsoft Scheduler or a third
party scheduler such as InstantON from Intel.
In its most simple form, just specify Statit
to run with a macro to execute:
winstatit
/h macro
This macro (command file) will do all the work
you require:
1.
Retrieve the data
2. Generate the report to a file or to a printer
3. Exit
You do not have to include an exit
command in the macro when using the /h
option.
You may also schedule a DOS bat file to run,
and in this file run Statit with a macro. This
gives you more control over the Statit environment,
and what you can have Statit do. See SampleBat.
With Statit 5.0.5 are included two options
which are useful when running as a scheduled
process:
This
option causes Statit to remain hidden while
it is processing the macro. It also forces Statit
to exit when the macro execution completes,
even if no EXIT command was included in the
macro.
This
option forces Statit to open its main window
prior to processing any command line macros.
This is especially important if the macro generates
a graph.
Problems
In older versions of the Microsoft You may
encounter the following error when using this
batch file:
out
of environment space
This problem is due to how NT or W95 set up
the default environment when running DOS batch
files. The default environment space allocated
is 256 bytes. You may increase this space, to
eliminate this error message, in several ways:
Under W95:
| 1. |
Open the shortcut to the
batch file Properties window with the
right mouse button. Under the Memory dialog,
set "Initial environment" to
a larger value, e.g., 512. |
| 2. |
Add or change the config.sys
line: |
| |
shell=command.com
/p /e:512 |
| |
|
| |
This sets the default value
for batch files to 512 bytes. |
Under NT:
| 1. |
From the Control Panel,
select System|Environment, and select
CompSpec where you append /e:512 to its
Value field. |
| 2. |
Add or change the config.nt
line: |
| |
shell=%systemroot%\system32\command.com
/e:512 |
| |
|
| |
If this file does not exist,
you may create it. This sets the default
value for batch files to 512 bytes. |
The maximum size you may set is 32Kb. See related
articles on the Microsoft
home page.
If you would like additional information, please
call our Support staff at (541) 752-4100 or
send email to .
|