/create Command-Line Option - Unity Scheduler - Foundation 24.1 - Foundation 24.1 - Ready - OnBase - Premier - external - Standard - Essential - Premier - Standard - Essential

Unity Scheduler

Platform
OnBase
Product
Unity Scheduler
Release
Foundation 24.1
License
Premier
Standard
Essential

A new instance of the Unity Scheduler Service is created by using the /create command-line option with its associated parameters. This will create the Windows Service, as well as make all the changes necessary to grant access to the OnBase system specified by the command-line parameters.

Note:

In order to properly install a Unity Scheduler Service instance using the /create command line, you must first modify the Hyland.Core.Scheduler.NTService.exe.config file to include a valid connection string. For more information about configuring connection strings, see Connection Strings in Web.config. Once this connection string has been configured, all created service instances that reference the data source use that connection string. If Windows authentication is specified for the connection string, the current Windows User Account must have Windows authentication connection authority for the SQL Server when registering the Windows service.

Required parameters are added to the /create command line, as shown here:

"[path]\Hyland.Core.Scheduler.NTService.exe" /create -sn="service name" -obu="service account name" -obp="service account password" -obd="connection string name"

Optional parameters are added to the /create command line with the other required parameters, as shown here:

"[path]\Hyland.Core.Scheduler.NTService.exe" /create -sn="service name" -obu="service account name" -obp="service account password" -obd="connection string name" -obg="task group name" -dn="display name" -desc="description" -u="Windows User Name" -p="Windows Password" -st="Start Type"

When creating an instance of the Unity Scheduler Service using the command line, you must configure the settings of the Service by using the parameters listed in the following table. If an optional parameter is not included, the default value is configured for that parameter, if available.

Parameter

Description

-sn

Service name.

Note:

This parameter is required.

Example: -sn="My Scheduler"

Note:

The Unity Scheduler Service instance will have _UnityScheduler affixed to the end of the service name.

-obu

Name of the OnBase Service Account that will execute Tasks.

Note:

This parameter is required.

Example: -obu="Service Account"

-obp

OnBase Service Account password.

Note:

This parameter is required and is case sensitive.

Example: -obp="Password"

-obd

Name of the ADO.NET connection string configured as the data source.

Note:

This parameter is required.

Example: -obd="Connection String Name"

-obg

Task Group name.

Note:

If not specified, the default value of this parameter is <Unassigned>.

Example: -obg="Production"

-dn

Unity Scheduler Service display name.

Note:

If not specified, the default value of this parameter is the same as the service name specified with the -sn parameter.

Example: -dn="My Display Name"

-desc

Service description.

Note:

If not specified, the default value of this parameter is Executes Unity Scheduler Tasks.

Example: -desc="My Description"

-u

Windows User Account that the Unity Scheduler Service executes under. This account should have access to the OnBase Disk Groups.

Note:

If not specified, the default value of this parameter is LocalSystem.

Example: -u="MyDomain\MyAccount"

-p

The password associated with the Windows User Account under which the Unity Scheduler Service executes.

Note:

This parameter is case sensitive.

Example: -p="MyWindowsPassword"

-spf

The path to the Sensitive Parameters File.

The Sensitive Parameters File is a simple text file which contains name and value entries, written as name, value. The "name" corresponds to a reference that can be used in the command line to substitute for sensitive data that exists in the Sensitive Parameters File. The "value" corresponds to the actual value used for service installation. For example, the Sensitive Parameters File could contain AdminPWRef, [AdminPassword] to allow command-line switches to reference an administrative password (using "AdminPWRef") without actually using or displaying the password in the command line.

To reference values within the Sensitive Parameters File, enter command-line option paramters with references placed between "<<" and ">>" delimiters followed by the -spf parameter with its file path defined.

In the following example, the OnBase Service Account user (-obu) and password (-obp) are defined using references to the user (UserReference) and password (PasswordReference) values contained in the "SensitiveParameters.txt" file: -obu="<<UserReference>>" -obp="<<PasswordReference>>" -spf="\\MyServer\MyShare\SensitiveParameters.txt"

-st

Unity Scheduler Service startup type.

  • Enter a to enable automatic startup.

  • Enter d to disable startup.

  • Enter m to enable manual startup.

Note:

If not specified, the default value of this parameter is Manual.

Example: -st="a"

-cfl

This parameter is used with the /create or /createdo command-line option. This parameter specifies an instance-specific configuration file (instead of the default, common configuration file) to be used by the Unity Scheduler Service.

Example: -cfl="Site2.config"

Tip:

To verify the service was successfully created, open the Microsoft Management Console and ensure the service is listed. Start the service when it is ready to be used.