The INTERACTIVE statement specifies whether to submit a Windows job in interactive mode or in batch mode. Interactive mode lets users view and interact with jobs that invoke Windows Terminal Services or user interface processes. For example, you can define a job to open a GUI application, such as Notepad, on the Windows desktop.
Note: If the agent administrator sets the oscomponent.interactive parameter to true in the agentparm.txt file, the agent submits all Windows jobs in interactive mode, regardless of the INTERACTIVE statement.
Supported Job Type
This statement is optional for the Windows job type.
Syntax
This statement has the following format:
INTERACTIVE YES|NO
Runs the Windows job in interactive mode.
Runs the Windows job in batch mode. This is the default unless the oscomponent.interactive parameter is set to true in the agent's agentparm.txt file.
Example: Run a Windows Job in Interactive Mode
This example runs a Windows job in interactive mode. The job opens the config.txt file in the Windows notepad application on the Windows desktop.
AGENT WINAGENT CMDNAME notepad.exe ARGS c:\run_info\config.txt INTERACTIVE YES
|
Copyright © 2009 CA Technologies.
All rights reserved.
|
|