IScheduler.CloneJob Method
Clones the specified job.
Namespace: Microsoft.Hpc.Scheduler
Assembly: Microsoft.Hpc.Scheduler (in Microsoft.Hpc.Scheduler.dll)
Namespace: Microsoft.Hpc.Scheduler
Assembly: Microsoft.Hpc.Scheduler (in Microsoft.Hpc.Scheduler.dll)
For an example, see Cloning a Job.
Only the owner of the job can clone the job. The job can be in any state when cloned.
The state of the new job is Configuring. After modifying the job (if necessary), call the SubmitJob method to schedule the new job to run. If the job is not ready to run, call the AddJob method to save the job in the scheduler.
The method copies all the tasks (and instances for a parametric task) and the following subset of job and task properties.
| Cloned job properties | Cloned task properties |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
Microsoft Windows HPC Server 2008, Windows HPC Server 2008 R2, Windows Server 2008 R2, Windows Server 2008, Windows 7, Windows Vista, Windows XPTarget Platforms
Windows Server 2003 R2 with HPC Pack 2008 R2 Client Utilities, Microsoft Windows HPC Server 2008, Windows Server 2008 with HPC Pack 2008 Client Utilities, Windows Vista with HPC Pack 2008 Client Utilities, Windows XP with HPC Pack 2008 Client Utilities, Windows HPC Server 2008 R2, Windows Server 2008 R2 with HPC Pack 2008 R2 Client Utilities, Windows Vista with SP2 and HPC Pack 2008 R2 Client Utilities, Windows XP with SP2 (32-bit version) or SP3 (64-bit version) and HPC Pack 2008 R2 Client Utilities
Build Date: