Submitting a command line job
Namespace: VcClientAssembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)
Syntax
C# |
---|
[ObsoleteAttribute("Use SubmitJob(SubmitJobParameters parameters, bool compression) instead")]
public static JobInfo SubmitJob(
string name,
int priority,
List<string> resources,
List<string> embeddedFiles,
string cmdLine,
bool compression
) |
Visual Basic |
---|
<ObsoleteAttribute("Use SubmitJob(SubmitJobParameters parameters, bool compression) instead")> _
Public Shared Function SubmitJob ( _
name As String, _
priority As Integer, _
resources As List(Of String), _
embeddedFiles As List(Of String), _
cmdLine As String, _
compression As Boolean _
) As JobInfo |
Visual C++ |
---|
[ObsoleteAttribute(L"Use SubmitJob(SubmitJobParameters parameters, bool compression) instead")]
public:
static JobInfo^ SubmitJob(
String^ name,
int priority,
List<String^>^ resources,
List<String^>^ embeddedFiles,
String^ cmdLine,
bool compression
) |
Parameters
- name
- Type: String
Job Name
- priority
- Type: Int32
Job Priority. Lower values have higher priority.
- resources
- Type: List<(Of <(<'String>)>)>
List of cluster resources used by the job
- embeddedFiles
- Type: List<(Of <(<'String>)>)>
List of files that need to be uploaded with the job
- cmdLine
- Type: String
The command line to be executed
- compression
- Type: Boolean
Whether to use compression while submitting the job and uploaded files needed
by the job
Return Value
A
JobInfo describing the submission
See Also