Export (0) Print
Expand All

ISchedulerTask.CommandLine Property

Retrieves or sets the command line for the task.


Namespace: Microsoft.Hpc.Scheduler
Assembly: Microsoft.Hpc.Scheduler (in Microsoft.Hpc.Scheduler.dll)

'Usage
Dim instance As ISchedulerTask
Dim value As String

value = instance.CommandLine

instance.CommandLine = value

string CommandLine { get; set; }
/** @property */
String get_CommandLine ()

/** @property */
void set_CommandLine (String value)

function get CommandLine () : String

function set CommandLine (value : String)

Property Value

The command to execute. The command is limited to 480 characters.

The command line is required for all tasks. The command line must include the name of the executable program and any arguments. If the path to the executable program contains long file names, enclose the path in quotation marks.

The executable program must exist under the specified path on each node specified in the RequiredNodes task property. If you do not specify a list of required nodes, the executable program must exist on each node in the cluster. The same is true if you add the task to a job and the job does not use the RequestedNodes job property to limit the nodes on which the task can run.

For parametric tasks (see the IsParametric property), the Scheduler replaces all occurrences of an asterisk (*) found in the command line with the instance value.

For more information about specifying the command line, see the description for the command line parameter of the Win32 CreateProcess function.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Target Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, with HPC Pack Client Utilities




Build Date:

2013-04-22

Community Additions

ADD
Show:
© 2014 Microsoft