# Enable Package Schedule

> Enables the schedule for a package if one is set.

Source: https://docs.capaone.com/capainstaller/sdk-capainstaller-software-development-kit-functions/package-functions/enable-package-schedule/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

## Description

Enables the schedule for a Package if a schedule is set

## Syntax

EnablePackageSchedule(ByVal packageName As String, ByVal packageVersion As String, ByVal packageType As String) As Boolean

## Parameters

***PackageName (String)***

The name of the package.

***PackageVersion (String)***

The package Version.

***PackageType (String)***

The package type;

- 1 (Computer)
- 2 (User)

## Return value

Boolean. The function returns True if successful, otherwise false.

## Example

**VBScript**

```vb
Set oCMS = CreateObject("CapaInstaller.SDK") 
wscript.echo oCMS.SetInstanceManagementPoint("1") 
wscript.echo oCMS.EnablePackageSchedule("Acrobat Reader","v8.0","1") 
 
```
