com.vmware.vim25.mo.samples.scheduling
Class WeeklyRecurrenceScheduledTask
java.lang.Object
com.vmware.vim25.mo.samples.scheduling.WeeklyRecurrenceScheduledTask
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]
- Author:
- sjin
THis is a sample converted from VI SDK samples
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeeklyRecurrenceScheduledTask
public WeeklyRecurrenceScheduledTask()
createSchedulerSpec
public static ScheduledTaskSpec createSchedulerSpec(String taskName)
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2011-2012. All Rights Reserved.