beautypg.com

Timed cron entry – Gasboy CFN III Mgnr's Mnl V3.4 User Manual

Page 222

background image

Automatic Cron Commands

Page 206

MDE-4315 CFN Series CFN III Manager’s Manual for Windows NT · August 2004

A restart entry begins with an exclamation mark (!). It will be executed
whenever the system suffers a general failure (crash). A restart entry could
execute a command file that saves the diagnostics and history reports in a disk
file for later examination, then restarts the system automatically. Cron should
not have more than one restart entry. Shows in When column as RESTART.

A reboot entry begins with caret (^). It will be executed whenever the system is
rebooted. It works when the REBOOT command is executed and when the
system is rebooted after a power failure. Like the restart entry, it can be used to
execute a command file that saves diagnostic and status information in a disk
file. Cron should not have more than one reboot entry. Shows in When column
of P CR as REBOOT.

A transaction-memory-full entry begins with a percent sign (%). It will be
executed at the same time as the message on transaction memory, Transfile
XX% full
, is logged. (The XX% at which the Transfile full message is logged is
set in SYS_PAR.)

Transaction memory shows up as Memory in the When column of PRINT
CRON output.

Timed cron Entry

A cron entry that begins with an at sign (@) is taken as a timed cron command.
You can specify the day of the week, month, date, year, hour, and minute that
you want the command executed. Days of the week are numbered from 01
starting with Sunday. The hour is specified in 24-hour time.

You must use leading zeros, if necessary, so each number is two digits. For
example, Sunday is 01, not just 1, and June is 06, not 6.

The format of a timed cron entry is:

@DWMMDDYYHHMM [-]command

DW is the day of the week as a two-digit number (Sunday=01, Monday=02,

Tuesday=03, etc.).

MM is the month as a two-digit number (January=01, February=02, etc).
DD is the day of the month as a two-digit number.
YY is the last two digits of the year (97 for 1997).
HH is the hour as a two-digit number, in 24-hour time.
MM is the minute as a two-digit number.
• [-] The optional hyphen (-) before the command name suppresses output to

the printer. This allows the command to execute while someone is logged
on to the command terminal. CRON runs using command processor 33. If
console is in command mode, CRON waits.

command is the name of the Site Controller command or user command file

to execute.

This manual is related to the following products: