This external documentation for pyVmomi was generated using Googly Docs (aka Google Standard Documentation) which renders very cleanly in GitHub. Internal documentation for a class should be done in Sphinx format because tools like pyCharm and Eclipse can use that documentation as a hint for code completion. Note: External docs as Googly Docs, internal docs as Sphinx. Closes bug#15
		
			
				
	
	
	
		
			1.9 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.9 KiB
		
	
	
	
	
	
	
	
vim.scheduler.ScheduledTask
The scheduled task object.
- extends
 
Attributes
- info (vim.scheduler.ScheduledTaskInfo):
 Information about the current scheduled task.
Methods
- RemoveScheduledTask():
 - 
Removes the scheduled task.
- Privilege:
 - 
ScheduledTask.Delete
 
Args:
- Returns:
 - 
None
 
Raises:
- vim.fault.InvalidState:
 - 
if the scheduled task is running.
 
 - ReconfigureScheduledTask(spec):
 - 
Reconfigures the scheduled task properties.
- Privilege:
 - 
ScheduledTask.Edit
 - Args:
 - 
- spec (vim.scheduler.ScheduledTaskSpec):
 - 
The new specification for the scheduled task.
 
 - Returns:
 - 
None
 
Raises:
- vim.fault.InvalidState:
 - 
if the scheduled task is running.
 - vim.fault.InvalidName:
 - 
if the scheduled task name is empty or too long.
 - vim.fault.DuplicateName:
 - 
if a scheduled task with the name already exists.
 - vmodl.fault.InvalidArgument:
 - 
if the specification is invalid.
 
 - RunScheduledTask():
 - 
Runs the scheduled task immediately. The schedule for future runs remains in effect.
- Privilege:
 - 
ScheduledTask.Run
 
Args:
- Returns:
 - 
None
 
Raises:
- vim.fault.InvalidState:
 - 
if the scheduled task is running already.