Sun N1 Service Provisioning System 5.1 XML Schema Reference Guide

<errorFile> Element

The <errorFile> element is a child of the <execNative> element. The <errorFile> element specifies the path to a local file on the agent in which to store the error output of the command that is being executed. Specify the path to the local file by using the <errorFile> name attribute. Relative paths are interpreted as being relative to the command's working directory.

You must specify the <errorFile> element if you specify the <background> element.

If <errorFile> is not specified and the <successCriteria> element does not specify errorMatches, the command output is not stored and will be lost. If errorMatches is specified, the error output is stored in a temporary file that is deleted after the command finishes executing.

Attributes for the <errorFile> Element

The <errorFile> element has one required attribute, name, which is the name of the file to which the standard error output of the command is written. This value should be a nonempty string. This attribute can reference simple substitution variables.