This guide explains how to configure the VDM Scheduler using a SQL database backend.
A SQL-backed Scheduler is the recommended configuration because it provides centralized Scheduler data, improved job management, and avoids the file-locking limitations associated with the legacy Calendar file.
Note: If you are using the legacy Calendar file Scheduler, the Calendar may appear read-only while the Scheduler Service is running because the Calendar file can be locked by the service.
Prerequisites
Before configuring the Scheduler, make sure you have:
- VDM installed.
- Access to Microsoft SQL Server.
- SQL Server Management Studio (SSMS) or another method of administering the SQL Server.
- A Windows account that the BridgeWorks VDM Scheduler Service can use to access required Views, folders, export locations, and other resources.
If SQL Server and SSMS are not already installed, see:
Microsoft SQL Server 2025 Express & SSMS Installation
Connect to SQL Server
- Open SQL Server Management Studio (SSMS).
- Connect to the SQL Server instance that will host the Scheduler database.
Make note of the SQL Server and instance name.
For example:
MYSERVER\SQLEXPRESS
You will use this value later when creating the Scheduler profile in VDM.
Enable SQL Server authentication
VDM uses a SQL login for the Scheduler connection. Make sure the SQL Server instance allows SQL Server Authentication.
Open SQL Server Properties
- In Object Explorer, right-click the SQL Server instance.
- Select Properties.
Enable SQL Server and Windows Authentication mode
- Select Security from the left panel.
-
Under Server authentication, select:
SQL Server and Windows Authentication mode
- Select OK.
Note: This setting allows both Windows Authentication and SQL Server Authentication.
Restart SQL Server
The SQL Server instance must be restarted before the authentication change takes effect.
- Right-click the SQL Server instance.
- Select Restart.
- Confirm the restart if prompted.
After SQL Server restarts, reconnect in SSMS if necessary.
Create the Scheduler database
Create a new database
- In SSMS, expand the SQL Server instance.
- Right-click Databases.
- Select New Database.
Enter a database name.
For example:
Scheduler
Select OK.
Make note of the database name because it will be used when configuring VDM.
Create the Scheduler SQL login
VDM uses a SQL login to connect to the Scheduler database.
Create a new login
- In SSMS, expand Security.
- Right-click Logins.
- Select New Login.
Configure SQL Server authentication
-
Enter a login name.
Example:
SchedulerAccount - Select SQL Server authentication.
- Enter and confirm a secure password.
- Uncheck Enforce password expiration and User must change password at next login.
Important: Store the login name and password securely. You will need both when creating the Scheduler profile in VDM.
Configure password policies according to your organization's SQL Server security requirements.
Map the SQL login to the Scheduler database
- Select User Mapping.
- Select the Scheduler database.
- Grant the SQL login the database permissions required for VDM Scheduler operations.
- db_datareader
- db_datawriter
- db_owner
- db_securityadmin
- public
- Select OK.
Database permissions should follow your organization's SQL Server security policies while allowing VDM to create, read, update, and maintain Scheduler data.
Create the Scheduler profile in VDM
Open Scheduler Profiles
- Open VDM.
- Select Settings.
- Select Profiles.
- Select Scheduler.
Configure the Scheduler connection
Enter the SQL Server information created earlier:
- Server / Instance — SQL Server and instance name.
- Database — Scheduler database name.
- Username — Scheduler SQL login.
- Password — Password for the SQL login.
Select Test Connection.
If the connection is successful, select Save and give the profile a recognizable name.
For example:
Scheduler
Configure User Options
Open User Options and configure:
-
Use SQL Database —
True - SQL Connection — Select the Scheduler profile.
Configure Global Options
Run VDM using Run as administrator, then open Global Options.
Configure:
-
Use SQL Database —
True - SQL Connection — Select the Scheduler profile.
Configure Service Options
While VDM is running as an administrator, open Service Options.
Configure:
-
Use SQL Database —
True - SQL Connection — Select the Scheduler profile.
Configure the BridgeWorks VDM Scheduler Service
The BridgeWorks VDM Scheduler Service runs scheduled appointments and Jobs without requiring VDM to remain open.
Open Windows Services
- Open Services in Windows.
- Locate BridgeWorks VDM Scheduler Service.
Configure the service account
- Right-click BridgeWorks VDM Scheduler Service.
- Select Properties.
- Open the Log On tab.
- Select This account.
- Select Browse.
Select the Windows account the Scheduler Service will use.
The account should have access to any resources required by scheduled Jobs, including:
- VDM Views and configuration files
- Documents folders
- Export locations
- Network shares
- Database resources
- Other files or folders used by scheduled Jobs
Select Check Names, then select OK.
Enter the account password and select Apply.
For additional information about folder permissions, see:
View and Add Permissions – Effective Access for the Scheduler Service
Configure the service startup type
- Open the properties for BridgeWorks VDM Scheduler Service.
- Set Startup type to Automatic.
- Select Apply.
- Start the service.
Manage the Scheduler Service from VDM
After the Scheduler Service has been configured, administrators can manage it from within VDM.
Available controls can include:
- Start
- Stop
- Restart
For users who need to control the Scheduler Service without administrative privileges, see:
Controlling Scheduler Service Without Administrative Privileges
Verify the Scheduler setup
After completing the configuration:
- Confirm the Scheduler profile successfully connects to SQL.
- Confirm Use SQL Database is set to
Truein the required VDM options. - Confirm the correct SQL Connection is selected.
- Confirm the BridgeWorks VDM Scheduler Service is running.
- Open the Scheduler in VDM.
- Create or review a Job.
- Create a Scheduler appointment.
- Allow the appointment to run.
- Confirm the Job completes successfully.
If the Job uses exports, email delivery, network locations, or other external resources, verify that the Scheduler Service account has access to those resources.
Comments
0 comments
Please sign in to leave a comment.