NET/MASTER Management Services (MS) Operator's Guide

Issuing Timer Commands
Issuing NonStop NET/MASTER MS Commands
106379 Tandem Computers Incorporated 3–5
Issuing Timer
Commands
Two NonStop NET/MASTER MS commands enable you to control the time and
interval at which other NonStop NET/MASTER MS commands are executed: AT and
EVERY. These two commands are referred to as timer commands.
The AT command issues a command or series of commands at a specific time of
the day. For example, to start the remote link REMOTE1 at 1:00 p.m., enter:
AT 13:00 CMD=LINK START=REMOTE1
The EVERY command issues a command or series of commands at a specified
time interval. For example, to monitor the status of REMOTE1 every 10 minutes,
enter:
EVERY :10 CMD=SHOW LINKS=REMOTE1
You can combine the AT and EVERY commands in a single command string to
execute a command at a specific time and then at regular intervals. For example, to
display all OCS users starting at 12:10 p.m. and at two minute intervals after that for
three times, enter:
AT 12:10 CMD=EVERY :02 LIMIT=3 SHOW OCS
Attributes of Timer
Commands
By default, timer commands execute only when you are logged on to NonStop
NET/MASTER MS.
Timer commands execute under your authority level, even if you route them to be
executed under another user ID.
Each timer command has an associated purge ID number, which is displayed in the
message display area when you first issue the timer command. For example:
NNM1706 COMMAND ACCEPTED, PURGE ID NUMBER IS 7
Issue a SHOW TIMER command to display information about currently queued timer
commands. For example:
SHOW TIMER
NNM1721 ID BY INTERVAL -USERID-R LIM CNT K/P ENV P/M TID
NNM1722 7 EV 00:02:00 MGRDEMO 3 2 NO PRI YES OCSUSERS
NNM1725 CMD=SHOW OCS
NNM1723 NUMBER OF TIMER COMMANDS DISPLAYED WAS 1
The AT and EVERY timer commands have operands that enable you to do the
following:
Determine what happens if you are logged off from NonStop NET/MASTER MS
when the scheduled command is ready to be executed (the KEEP operand).
Send the command to be executed under the control of another user ID (the
ROUTE operand).
Specify how many times the command should be executed at the specified interval
(the LIMIT operand).