public class OneTimeScheduledTask extends Object
This is a simple standalone client whose purpose is to demonstrate the creation of a ScheduledTask using the ScheduledTaskManager To run this samples following parameters are used : taskname [required] : name of the task to be scheduled vmname [required] : name of the virtual machine Command Line: run.bat com.vmware.samples.vm.OneTimeScheduledTask --url [webserviceurl] --username [username] --password [password] --taskname [myTask]
| Constructor and Description |
|---|
OneTimeScheduledTask() |
| Modifier and Type | Method and Description |
|---|---|
static ScheduledTaskSpec |
createSchedulerSpec(String taskName,
Calendar runTime) |
static void |
main(String[] args) |
Copyright © 2011-2012. All Rights Reserved.