The TIMEOUT statement specifies how long the agent attempts to ping the computer after the Wake on LAN (WOL) signal is sent. You can use this statement, together with the WAKEHOST and WAKEPORTS statements, to confirm that the computer is awake.
Supported Job Type
This statement is optional for the Wake on LAN job type.
Syntax
This statement has the following format:
TIMEOUT timeout
Specifies the timeout for the ping in seconds.
Limits: Up to 5 digits
Default: 120 seconds
Note: The agent attempts to connect to each of the ports specified in the WAKEPORTS statement (or the default ports if the WAKEPORTS statement is not specified) before measuring the time for the timeout.
Example: Broadcast the WOL Signal and Ping a Port
This example broadcasts the WOL signal to the server identified by the 172.16.00 IP address and the 00-1E-4F-C1-0F-FE MAC address. After the WOL signal is sent, the agent pings port 7 of the host computer to ensure it is available. If port 7 is available, the job completes successfully; otherwise, it fails. The job uses the default timeout for the ping.
AGENT AGENTNME WAKEHOST host WAKEPORTS 7 BROADCAST 172.16.0.0 MAC 00-1E-4F-C1-0F-FE
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|