Page tree
Skip to end of metadata
Go to start of metadata

Description

Checks if a given package has an active schedule

 

Syntax

CMS_IsPackageScheduleEnabled(sPackage, sVersion) As Boolean

 

Properties

sPackage (String)

Name of the package

sVersion (String)

Version of the package

 

Return value

Result will be stored in gbValue. If package is not found function will return false

 

Example

VBScript
If bStatus Then xStatus = CMS_IsPackageScheduleEnabled("CapaInstaller", "v1.0")
If bStatus Then
  xStatus = Job_WriteLog("Custom","gbValue: " & gbValue, bStatus, True)
End If

Scripting Guidelines

 

Related functions

 

  • No labels