Reboot cron entry, Transaction-memory cron entry – Gasboy CFN III Manager Manual V3.6 User Manual

Page 230

Advertising
background image

Automatic Cron Commands

What Conditions can be Specified for Cron

Page 21-4 MDE-4871 CFN III Manager’s Manual for Windows® XP Embedded - Version 3.6 · August 2010

Severe crashes that are likely to have serious consequences require the command RUN;I to
restart, when RUN will work after mild ones. You might wish to omit RESTORE from the
above command file and change RUN;I to RUN so that the system will not restart
automatically after severe crashes or if tables are reconstructed.

If you have cron restore reconstructed tables automatically after a crash, make sure a current
and complete backup is present in the root directory on the default drive. You can use a cron
command to automatically back up system data every day.

Reboot Cron Entry

A cron entry that begins with a caret (^) will be executed when the Site Controller is rebooted.
The caret is all that is required to specify this condition. Remember to leave a space between
the caret and the command. If there is more than one of this type of entry, only the first will be
executed.

^ [-]command

[P:]* TYPE MYBOOT.CMD

* to be executed by cron after a reboot
disable history
echo -- Saving Boot Log --
* the following commands save
* transaction-in-progress information
* in a disk file, then print the file
* on the log printer
enable dump MYBOOT.LOG

echo ------
print date
print tip

disable dump
log file MYBOOT.LOG
[P:]*

The optional hyphen (-) before the command name suppresses output to the printer. This
allows the command to execute when someone is logged on to the command terminal. Will
display REBOOT in the When column of P CR output.

Below is an example of a command file for the reboot cron entry.

Transaction-memory Cron Entry

A cron entry that begins with a percent sign (%) will be executed when the Transfile XX% full
message is logged. The format of a transaction-memory cron entry is:

% [-]command

The optional hyphen (-) before the command name suppresses output to the printer. This
allows the command to execute when someone is logged on to command terminal.

The transaction-memory cron entry will display Memory in the When column of PRINT
CRON output. The point at which this cron executes is set in configuration.

Advertising
This manual is related to the following products: