com.vmware.vim25.mo.samples.scheduling
Class WeeklyRecurrenceScheduledTask

java.lang.Object
  extended by 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

Constructor Summary
WeeklyRecurrenceScheduledTask()
           
 
Method Summary
static ScheduledTaskSpec createSchedulerSpec(String taskName)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeeklyRecurrenceScheduledTask

public WeeklyRecurrenceScheduledTask()
Method Detail

createSchedulerSpec

public static ScheduledTaskSpec createSchedulerSpec(String taskName)

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2011-2012. All Rights Reserved.