public class WeeklyRecurrenceScheduledTask extends Object
This is a simple standalone client whose purpose is to demonstrate the process of creation of a ScheduledTask using the ScheduledTaskManager To run this samples following parameters are used : taskname [required] : name of the task to be scheduled vmpath [required] :VM Inventory Path Command Line: run.bat com.vmware.samples.vm.WeeklyRecurrenceScheduledTask --url [webserviceurl] --username [username] --password [password] --vmpath ["/DatacenterName/vm/FolderName/myVM"] --taskname [Task1]
| Constructor and Description |
|---|
WeeklyRecurrenceScheduledTask() |
public static ScheduledTaskSpec createSchedulerSpec(String taskName)
Copyright © 2011-2012. All Rights Reserved.