Get schedule
Description
Returns a schedule object by Id
Â
Syntax
GetSchedule(Byval Id as String) as String
Â
Parameters
Id (String)
Id of the requested unit
Â
Return value
Returns a 'pipe'-delimited (|) string containing the following variables; Id, ScheduleStart, ScheduleEnd, Occurrences, IntervalStart, IntervalEnd, Recurrence, RecurrencePattern, Run, LastRun, Active, WOL, Guid
Â
Example
VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") oCMS.SetDefaultManagementPoint("1") Wscript.echo oCMS.GetSchedule("5")
The example above will return something like this:Â 5|06-01-2011 12:00:00||0|00:00:00|1.00:00:00|Periodical|RecurEvery[1] weeks on [Monday-Tuesday-Wednesday-Thursday-Friday-Saturday-Sunday]|Weekly||True||842b2894-cdab-4a2c-905c-17ee052179db
Â