Get schedule
Description
Section titled “Description”Returns a schedule by Id.
Syntax
Section titled “Syntax”GetSchedule(Byval Id as String) as String
Parameters
Section titled “Parameters”Id (String)
The numeric Id of the requested schedule.
Return value
Section titled “Return value”Returns a string with the following values, separated by the character defined with Set splitter (default |): Id, ScheduleStart, ScheduleEnd, Occurrences, IntervalStart, IntervalEnd, Recurrence, RecurrencePattern, Run, LastRun, Active, WOL, Guid.
If no schedule exists with the specified Id, the function raises an error.
Example
Section titled “Example”Set oCMS = CreateObject("CapaInstaller.SDK")oCMS.SetInstanceManagementPoint("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