Contents
Scheduled Packages and Deployments

Creating a New Scheduled Package

Users can create a new scheduled task to run one or more code packages by invoking the Scheduled Packages tool under the Tools menu. To create a new scheduled task, click the New Scheduled Task in the Scheduled Packages window as illustrated in the image below. Then, follow the instructions in the Scheduled Task Wizard.



Figure 102.23:  Creating a new scheduled package.



Scheduled Packages use the Windows Scheduled Tasks to schedule and execute code packages. When a new Scheduled Package is created, Combine automatically creates a batch file (i.e., a file with the extension .bat) in the folder called Scheduled Packages under the Combine installation directory. You can instruct Combine to save the bat file in other directories by setting the Scheduling options in the Tools → Options dialog.

The bat file contains instructions that call the CpaExec command line utility, which is responsible for executing the package and saving deployment results and outputs. The schedule assigned to the scheduled package is saved as a Windows Scheduled Task and can be viewed and edited either in Combine or under Scheduled Tasks in the Control Panel in Windows.

To summarize, Scheduled Packages contain the following components:
1. A bat file that calls the CpaExec command line utility to execute the scheduled packages. The bat file is stored under the Scheduled Packages folder. The name of the batch file starts with the string "SQL Farm Combine".
2. A Scheduled Task that calls the bat file according to the schedule specified in the Scheduled Packages tool in Combine.

The Scheduled Task Wizard is explained in detail in the section titled Scheduled Task Wizard. Please refer to that section for additional information regarding how to create or edit scheduled packages and tasks.


© 2001-2017 JNetDirect, Inc. All Rights Reserved.