Using NS3000/iX Network Services (36920-90008)

214 Chapter 8
NetCI
Sample Applications
%/endwhile
We are now ready to execute the script file, SYSOP, on any node. Before
we execute the script file, we must interactively assign a value (the
current time) to the variable called “hour”. To set the current time,
enter
NetCI>LET HOUR=X (X is current hour, for example, 6 for 6 A.M.)
After specifying the current time, we are now ready to execute the
SYSOP script file. To execute this script file, enter
NETCI>NET3 PLAY SYSOP
to run particular operations at specified times on all the nodes that are
members of the NET3 list.
If you are executing the script file on a list, you should change the wait
duration to a value that will allow the file enough time to execute on all
nodes during each hour. For example, if it takes approximately
1200 seconds to execute the script file on all nodes that are members of
the NET3 list, you could assign 2400 seconds as the wait value. This
would be enough time for execution to have occurred on all the nodes.
The script file will take about 1200 seconds to execute and then wait
2400 seconds to execute again. This will be approximately the next
hour.