Depending on your environment, you may also require the following parameters to use Session 0.
(Optional) Sets whether to force the agent to create a console when running a Windows job.
Creates a console when running a Windows job.
Does not create a console when running a Windows job.
Default: false
(Optional) Sets whether the agent forces inline redirection. In some cases, such as Windows Server 2008 R2, inline redirection is required for the console to be displayed in Session 0.
Forces inline redirection using cmd.exe /c command args stdin_file >stdout_file >stderr_file.
Does not force inline redirection.
Default: false
Note: This parameter requires oscomponent.cmdprefix.force=true and affects FTP verbose mode. If regular redirection is used, the command
ftp –s:command_file will not output raw FTP commands with completion codes as per FTP protocol.
(Optional) Sets whether to prevent the agent from redirecting STDOUT/STDERR if none are specified in the job definition.
Prevents the agent from redirecting STDOUT/STDERR if none are specified in the job definition. If the output of the command requires user input, such as pause, it is displayed in the cmd.exe console window.
Does not prevent the agent from redirecting STDOUT/STDERR if none are specified in the job definition.
Default: false
Note: This parameter requires oscomponent.cmdprefix.force=true and the Windows job has to be interactive.
Note: If you are not logged in when the job is submitted, you might need to restart the "Interactive Services Detection" service to receive the prompt.
|
Copyright © 2013 CA.
All rights reserved.
|
|